How can I create as many empty lists as a for
loop variable determines ?
As in:
for i in range(3):
list_{i} = [] #this is just an idea
In the end of the for
loop I'd have:
list_0 = [] #empty, I could add elements later.
list_1 = [] #empty
list_2 = [] #empty
I'm new to Python so please if this question is a duplicate, let me know but I haven't found any question with the same needs.