What is the use of negative indexes?
Answer / Pawan Sharma
Negative indexes are useful when you want to access elements from the end of a list or string without having to calculate the total length and subtract.
| Is This Answer Correct ? | 0 Yes | 0 No |
Python How do you make a higher order function in Python?
Describe about the libraries of python?
What is super () react?
We know python is all the rage these days. But to be truly accepting of a great technology, you must know its pitfalls as well. Would you like to talk about this?
What is the use of ‘self’ keyword in python?
What is the Global Interpreter Lock (GIL) in Python?
What are objects in python?
Is there a tool to help find bugs or perform static analysis?
Why is self used in python?
Why lambda forms in python does not have statements?
How to sort a dictionary by value in python?
How do you sort in python?