import numpy as np random_arr = np.random.randint(1,50,9) mat1 = ran.reshape(3,3)
import numpy as np random_arr = np.random.randint(1,50,9)
import numpy as np matrix = [[1,2,3], [4,5,6], [7,8,9]]
import numpy as np ser_arr = np.arange(1,10) mat1 = ser_arr.reshape(3,3)