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 |
What does join () do in python?
Which data type you prefer to implement when deal with seuential data?
How to append to a string in Python?
How would you generate a random number in python?
Explain the use of // operator in python?
What is a Pandas Series, and what? does it entail
What are metaclasses and what do we use them for?
Explain inheritance in python with example?
What is map?
What is python slice()?
What is the purpose of "self" in python
Write a sample program in enumerate()function in python?