+2 votes
in NumPy by
1D Slicing with above numpy array..print[5,15]

1 Answer

0 votes
by
num = np.array([5,15,25,35]) if not added

print(‘\n first and third position : ‘,num[0:2])

Related questions

+2 votes
+2 votes
asked Jul 4, 2021 in NumPy by sharadyadav1986
+1 vote
asked Jul 8, 2021 in NumPy by rajeshsharma
...