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 applications are written in python?
Do you know the number of keywords in python?
What is __ init__ in python?
What is the difference between methods & constructors?
what does yield function do? what is the difference between return and yield?
What are special methods in python and how to implement?
What are advantages of a tuple over a list?
What is a pil in python?
How strings can be sliced?
How useful is python?
Which is fastest implementation of python?
What do you understand by membership operators in python?