What are negative indexes and why are they used?

Answers were Sorted based on User's Feedback



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

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

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

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

Answer / hr@tgksolutions.com

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

What applications are written in python?

0 Answers  


Do you know the number of keywords in python?

0 Answers  


What is __ init__ in python?

0 Answers  


What is the difference between methods & constructors?

0 Answers  


what does yield function do? what is the difference between return and yield?

1 Answers  






What are special methods in python and how to implement?

0 Answers  


What are advantages of a tuple over a list?

0 Answers  


What is a pil in python?

0 Answers  


How strings can be sliced?

0 Answers  


How useful is python?

0 Answers  


Which is fastest implementation of python?

0 Answers  


What do you understand by membership operators in python?

0 Answers  


Categories