What do you mean by negative indexing in python?

16. What do you mean by negative indexing in python?

  1. Negative indexing in python helps us to traverse the list from the end
  2. Negative indexing in python helps us to traverse the list from the starting
  3. There is no such thing as negative indexing in python

Answer: A) Negative indexing in python helps us to traverse the list from the end.

Explanation:

Negative indexing in python helps us to traverse the list from the end.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.