Three ways to multiply matrices

import numpy as np A = np.array([ [3, 4, 5], [6, 8, 10], [11, 14, 17] ]) B = np.array([ [5, 6, 7], [8, 10, 12], [13, 16, 19] ]) print(np.dot(A,B)) print(A @ B) print(np.matrix(A) * np.matrix(B)) """ All give: [[112 138 164] [224 276 328] [388 478 568]] """