How to find the Rank of a Matrix?

This recipe helps you find the Rank of a Matrix
In [1]:
## How to find the Rank of a Matrix
def Kickstarter_Example_12():
    print()
    print(format('How to find the Rank of a Matrix','*^72'))
    # Load library
    import numpy as np
    # Create matrix
    matrixA = np.array([[1, 2, 3, 23],
                       [4, 5, 6, 25],
                       [7, 8, 9, 28],
                       [10, 11, 12, 41]])
    # Return the Rank of a Matrix
    print(); print("The Rank of a Matrix: ",
                    np.linalg.matrix_rank(matrixA))
Kickstarter_Example_12()
********************How to find the Rank of a Matrix********************

The Rank of a Matrix:  3