I want to pass a range of numbers to a list. Here I set the variable rowsList which contain a list of index numbers.
rowsList = [range(13),17,23]
for index in rowsList:
ws.insert_rows(index,1)
Obviously it raises: TypeError: 'range' object cannot be interpreted as an integer. What little change could I do to make this work ? Thanks for your help.