# Adding and Subtracting Matrices in Python # importing numpy as npimport numpy as np    # creating first matrixA = np.array([[1, 2], [3, 4]])  # creating second matrixB = np.array([[4, 5], [6, 7]])  print("Printing elements of first matrix")print(A)print("Printing elements of second matrix")print(B)  # adding two matrixprint("Addition of two matrix")print(np.add(A, B))