Login
Remember
Register
Ask a Question
if we don’t know last number of position how to show it by pragmatically ?
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
if we don’t know last number of position how to show it by pragmatically ?
number-position
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 last indexing done by -1 position : ‘,num[-1])
...