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