multidimensional list in python code example
Example 1: 2d array python
array = [[value] * lenght] * height
//example
array = [[0] * 5] * 10
print(array)
Example 2: python initialize multidimensional list
[[0 for i in range(10)] for j in range(10)]