python print two dimensional array code example
Example 1: 2d array python
array = [[value] * lenght] * height
//example
array = [[0] * 5] * 10
print(array)
Example 2: how to print a matrix in python
import numpy as np
print(np.matrix(A))
array = [[value] * lenght] * height
//example
array = [[0] * 5] * 10
print(array)
import numpy as np
print(np.matrix(A))