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 to count the occurrences of a list item?
How do you reload a python module?
Which method removes and returns last object of a list?
What are metaclasses in python?
If given the first and last names of bunch of employees how would you store it and what datatype?
Can we use Python in HTML?
Can you make a python executable?
Which os is best for python?
How do we make forms in python?
Why python is popular now?
Is multiple inheritances possible in python?
Is multithreading possible in python?