import numpy as np M = np.array([[11, 12, 13], [21, 22, 23]]) (m, n) = np.shape(M) for i in range(0, m): for j in range(0, n): E = M[i, j] print('E =', E)