What are negative indexes and why are they used?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Negative indexes are those that come from the end of the string, tuple, or list.
The last entry in the array is indicated by Arr[-1]. Arr[]
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Negative indexes are those that come from the end of the string, tuple, or list.
The last entry in the array is indicated by Arr[-1]. Arr[]
| Is This Answer Correct ? | 0 Yes | 0 No |
Negative indexes are those that come from the end of the string, tuple, or list.
The last entry in the array is indicated by Arr[-1]. Arr[]
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a negative index in python?
What is LIST comprehensions features of Python used for?
Draw a comparison between the range and xrange in python?
What is the best free website to learn python?
Which are the file related libraries/modules in python?
What is raw string in python?
What are the basic datatypes in python?
How python maintains conditional blocks?
How to implement an 'enum' in python?
What is the use of python interpreter?
What is the purpose of is, not and in operators?
How many hours does a python sleep?