# Find the number of rows and columns of a given matrix using NumPy in Python 
 import numpy as np
  
  
matrix= np.arange(1,9).reshape((3, 3))
  
# Original matrix
print(matrix)
  
# Number of rows and columns of the said matrix
print(matrix.shape)