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 the memory is managed in python?
What is the best free ide for python?
What is the function of negative index?
What is lambda used for in python?
Is python a scripting or programming?
How you can access sessions in flask?
How will you convert an integer to a unicode character?
Will the do-while loop work if you don’t end it with a semicolon?
What is nonetype error in python?
What are python modules? Name some commonly used built-in modules in python?
What are string literals in python?
What is the best interpreter for python?