arr i j python 2d code example Example: 2d array python array = [[value] * lenght] * height //example array = [[0] * 5] * 10 print(array)