1 of 4
π Lists π Loops
Write a program that reverses a list. Do not use the built-in reverse() method β implement it yourself with a loop.
Example: [1, 2, 3, 4, 5] β [5, 4, 3, 2, 1]
You can either:
Original: [1, 2, 3, 4, 5]
Reversed: [5, 4, 3, 2, 1]