What are negative indexes and why are they used?



What are negative indexes and why are they used?..

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

Post New Answer

More Python Interview Questions

How to convert a number to a string?

0 Answers  


What are python scripts used for?

0 Answers  


What are python methods?

0 Answers  


How do I watch a file for changes using python?

0 Answers  


Python a compiled language or an interpreted language?

1 Answers  






List of lists changes reflected across sublists unexpectedly?

0 Answers  


Why was the language called as Python?

0 Answers  


How to concatenate two lists in python?

0 Answers  


Difference between for loop and while loop in Python

1 Answers  


What is a program interpreter?

0 Answers  


Is real python free?

0 Answers  


Is python completely free?

0 Answers  


Categories