+2 votes
in NumPy by (30.5k points)
1D Slicing with above numpy arra..print[5,15,25,35]

1 Answer

0 votes
by (30.5k points)
print(‘\n second upto last : ‘,num[1:])
...