I am using Python 2.7. How does you use the index of a loop inside quotation marks? This appears in a option. I have tried putting index in quote() and after % and also format but it is not working.
for x in range(3,82,7):
for y in range(10,95,7):
worksheet.merge_range("A{}".format(x)":A{}".format(y), "", merge_format)
I want the output as
worksheet.merge_range('A3:A10', 'Merged Range', merge_format)
worksheet.merge_range('A10:A17', 'Merged Range', merge_format)
Thanks in advance