Код: Выделить всё
list_0 = [1, 2, 3]
list_1 = [4, 5, 6]
list_2 = [7, 8, 9]
Например, мне не нужно что-то вроде это
Код: Выделить всё
list_0 = [1, 2, 3, 4, 5, 6, 7, 8, 9]
Код: Выделить всё
[1, 2, 3]
[4, 5, 6]
[7, 8, 9]
Код: Выделить всё
lists = [list_0, list_1, list_2]
Например
Код: Выделить всё
list_0 = [1, 2, 3]
list_1 = [4, 5, 6]
list_2 = [7, 8, 9]
Lists = [] # I want to have access to all the numbers in those lists in this list and manipulate them
print(list_0)
print(list_1)
print(list_2)
Подробнее здесь: https://stackoverflow.com/questions/789 ... -like-this