Как напечатать матрицу в Python
import numpy as np
print(np.matrix(A))
Cooperative Curlew
import numpy as np
print(np.matrix(A))
for row in A:
for val in row:
print '{:4}'.format(val),
print
1 2 3 4 5
6 7 8 9 10
1 3 5 0 8
4 9 2 4 1
7 9 3 7 1