printing a two dimensional array in python August 26, 2023 by Tarik There is always the easy way. import numpy as np print(np.matrix(A))