(Solved):How do you determine the size of a matrix in Python? View Answer…

 

Question

How do you determine the size of a matrix in Python?

 

EXPERT ANSWER

Source Code:

  1. # python program determining the number
  2. # of rows and columns of a matrix
  3. import numpy as np
  4. matrix = np.array([[-11, 12, 15, 344],
  5.     [-50,
Scroll to top