+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])
...