+2 votes
in NumPy by
how to create 1D Array ?

1 Answer

0 votes
by
num=[1,2,3]

num = np.array(num)

print(“1d array : “,num)
...