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 |
Explain the use of with statement?
How to convert sting to number and viceversa in python?
Which is more powerful python or c++?
What apps are written in python?
What is the use of dir() function?
What is a function in python programming?
What is used to create unicode strings in Python?
Why is not__getattr__invoked when attr==’__str__’?
Explain help() and dir() functions in python?
Describe how exceptions are handled in python.
How Python performs Compile-time and Run-time code checking?
What is the key difference between java and python?