+2 votes
in NumPy by
Print first position, last position and 2nd and 3rd position

1 Answer

0 votes
by
Print first position, last position and 2nd and 3rd position

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

print(‘\n first position : ‘,num[0]) #5

print(‘\n third position : ‘,num[2]) #25

Related questions

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