+2 votes
in NumPy by
how to use shape for 1D Array ?

1 Answer

0 votes
by
num=[1,2,3] if not defined

print(‘\nshpae of 1d ‘,num.shape)
...