Как автоматически создать трехмерный массив в Python
x = [[[0 for k in range(p)] for j in range(n)] for i in range(m)]
Glorious Gnat
x = [[[0 for k in range(p)] for j in range(n)] for i in range(m)]