How can I create lists using for
loop to get list_1
, list_2
, list_3
, etc.? (Python)
I tried this:
for i in range(5):
i += 1
list_(i) = []
But not working.
File test.py, line 3
runner_(i) = []
^
SyntaxError: cannot assign to function call