how to print numpy array in python

Solutions on MaxInterview for how to print numpy array in python by the best coders in the world

showing results for - "how to print numpy array in python"
Fabian
06 Aug 2019
1import numpy as np
2l=[1,2,3]
3a=np.array(l)
4print(a) #this will give the array