n = 3
m = 2
a = [0] * n
for i in range(n):
a[i] = [0] * m
print(a)
[[0, 0], [0, 0], [0, 0]]
.[[[0, 0], [0, 0]], [[0, 0], [0, 0]]]
. a = [a.copy() for i in range(k)]
s=[ [ [0 for x in range (0,2)] for y in range (0,2) ] for z in range (0,2)]
Out[20]: [[[0, 0], [0, 0]], [[0, 0], [0, 0]]]