Python Developer Question:
Download Job Interview Questions and Answers PDF
Tell me what is negative index in Python?
![Python Developer Interview Answer Python Developer Interview Question](https://globalguideline.com/public/images/interview/21.png)
Answer:
Python sequences can be index in positive and negative numbers. For positive index, 0 is the first index, 1 is the second index and so forth. For negative index, (-1) is the last index and (-2) is the second last index and so forth.
Download Python Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know what is lambda in Python? | How to generate random numbers in Python? |