print matrix value python code example Example: how to print a matrix in python import numpy as np print(np.matrix(A))