Answers for "print matrix python numpy"

0

how to print a matrix in python

import numpy as np
print(np.matrix(A))
Posted by: Guest on March-02-2020
0

how to print numpy array in python

import numpy as np
l=[1,2,3]
a=np.array(l)
print(a) #this will give the array
Posted by: Guest on April-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language