neat way to print 2d array

25

import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))

Comments

Submit
0 Comments