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 do you break in python?
Explain the five benefits of using python?
How are instance variables different from class variables?
Is dictionary faster than list python?
Which python library is built on top of matplotlib and pandas to ease data plotting?
Differentiate between deep and shallow copy?
Explain help() and dir() functions in python?
Write a program to check whether the object is of a class or its subclass.
How is python executed?
What does time time () do in python?
How will you get all the keys from the dictionary?
What is enumerate() explain its uses?