in Python by
Q:
What is negative index in Python?

1 Answer

0 votes
by
Python sequences can be index in positive and negative numbers. For positive index, 0 is the first index, 1 is the second index and so forth. For negative index, (-1) is the last index and (-2) is the second last index and so forth.
Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
0 votes
asked Feb 11 in Python by SakshiSharma
0 votes
asked Nov 13, 2020 in Testing by sharadyadav1986
0 votes
asked Dec 27, 2019 in Data Science by sharadyadav1986
+1 vote
asked Feb 13 in Python by SakshiSharma
...