I'm setting up an algorithm and I do not achieve to create a list for each loop index.
I don't know how can I change the names of lists during the for-loop.
for i in range(10):
list = list.append(1 + i)
In order to get:
list0 = [1]
list1 = [2]
list2 = [3]
and so on.
My objective is to call these lists on another function, is there a way to name these lists with the list index?
I don't have find any subject which describe my issue. Maybe I don't clearly explain my problem.