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 |
Does python have access specifiers?
Mention at least 3-4 benefits of using python over the other scripting languages such as javascript.
What is the difference between python and shell scripting?
What is set in python 3?
What do you understand by monkey patching in python?
Does python use ram?
Why do we need break and continue in python?
In which field python is used?
How is it possible to share global variables across various modules?
What are middlewares in python?
Is python good for beginners?
Can you write an efficient code to count the number of capital letters in a file?