Input A Matrix In Python Without Numpy, We can create a NumPy ndarray object by using the array() function.