Solution Review: Reverse a List
This lesson will explain how to reverse a list in python using for loop.
We'll cover the following
Solution Review: Use
- Calculate the length of the list using the
- Create a new list.
- Run a backward loop starting from len to index 0.
The following illustration makes it clear.