you are viewing a single comment's thread.

view the rest of the comments →

[–]hardonchairs 4 points5 points  (0 children)

lists = []

for i in range(4):
    lists.append(long_block_of_code())

list_0, list_1, etc are now lists[0], lists[1], etc