This post will discuss how to traverse a list in reverse order in Python without modifying the original list.

1. Using built-in reversed() function

You can pass the list to the built-in function reversed(), which returns a reverse iterator and doesn’t modify the list.

Download  Run Code

 
If you need the indices, use the enumerate() function for getting the position index and corresponding value.

Download  Run Code

 
Another way to iterate with indices can be done in the following manner:

Download  Run Code

2. Using extended slicing

The [::-1] slice makes a copy of the list in reverse order, which can be used in the for-loop to print items in reverse order.

Download  Run Code

That’s all about traversing a list in reverse order in Python.