Login
Remember
Register
Ask a Question
1D Slicing with above numpy array..print[5,15]
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
1D Slicing with above numpy array..print[5,15]
1d-slicing
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 4, 2021
by
sharadyadav1986
num = np.array([5,15,25,35]) if not added
print(‘\n first and third position : ‘,num[0:2])
...