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 |
How you can minimize the memcached server outages in your python development?
Which module is used to control the gpio in python?
How to comment multiple lines in python?
What does mean in python?
What is tuple?
Is init in python a constructor?
What is use of @classmethod, @staticmethod, @property in python?
Tell me is there a switch or case statement in python? If not then what is the reason for the same?
What does ‘#’ symbol do in python?
How will you change case for all letters in string in python?
Is python statically typed or dynamically typed?
Where is python best used?