To get a new reversed list, apply the reversed function and collect the items into a list:

>>> xs = [0, 10, 20, 40]
>>> list(reversed(xs))
[40, 20, 10, 0]

To iterate backwards through a list:

>>> xs = [0, 10, 20, 40]
>>> for x in reversed(xs):
...     print(x)
40
20
10
0
Answer from codaddict on Stack Overflow
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί python β€Ί python-reversing-list
Reversing a List in Python - GeeksforGeeks
Python Β· a = [1, 2, 3, 4, 5] rev = list(reversed(a)) print(rev) Output Β· [5, 4, 3, 2, 1] If we want to reverse a list manually, we can use a loop (for loop) to build a new reversed list.
Published Β  November 26, 2025
🌐
Codecademy
codecademy.com β€Ί article β€Ί how-to-reverse-a-list-in-python
How to Reverse a List in Python | Codecademy
You can use slicing ([::-1]), ... You can reverse a list using a while loop by swapping elements from the start and end of the list until the two pointers meet in the middle....
Discussions

python - How do I reverse a list or loop over it backwards? - Stack Overflow
How do I iterate over a list in reverse in Python? See also: How can I get a reversed copy of a list (avoid a separate statement when chaining a method after .reverse)? More on stackoverflow.com
🌐 stackoverflow.com
loops - Traverse a list in reverse order in Python - Stack Overflow
How do I traverse a list in reverse order in Python? So I can start from collection[len(collection)-1] and end in collection[0]. I also want to be able to access the loop index. More on stackoverflow.com
🌐 stackoverflow.com
python - How do I reverse a list using while loop? - Stack Overflow
Input list: [1, 2, 3, 4, 5] Output: [5, 4, 3, 2, 1] I know how to do it with for loop, but my assignment is to do it with while loop; which I have no idea to do. Here is the code I have so far: ... More on stackoverflow.com
🌐 stackoverflow.com
python - Reverse list using for loop - Stack Overflow
How can I get a reversed copy of a list (avoid a separate statement when chaining a method after .reverse)? (12 answers) Strange result when removing item from a list while iterating over it in Python (12 answers) More on stackoverflow.com
🌐 stackoverflow.com
🌐
W3Schools
w3schools.com β€Ί python β€Ί ref_list_reverse.asp
Python List reverse() Method
Python Examples Python Compiler ... Q&A Python Bootcamp Python Certificate Python Training ... The reverse() method reverses the sorting order of the elements....
🌐
Cherry Servers
cherryservers.com β€Ί home β€Ί blog β€Ί python β€Ί how to reverse a list in python (using 3 simple ways)
How to Reverse a List in Python (Using 3 Simple Ways) | Cherry Servers
November 7, 2025 - This approach mixes Python syntax with the logic of a loop. Loop-based reversal follows a simple logic. Simply begin at the last item in the list and work your way backwards while collecting each element to create a new list.
🌐
Programiz
programiz.com β€Ί python-programming β€Ί methods β€Ί list β€Ί reverse
Python List reverse()
# List Reverse systems.reverse() # updated list print('Updated List:', systems)
Find elsewhere
🌐
Python Guides
pythonguides.com β€Ί reverse-a-list-in-python
How to Reverse a List in Python
September 30, 2025 - Reversing a list in Python is simple but powerful. You can do it with reverse(), slicing, reversed(), loops, or list comprehensions.
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί python β€Ί backward-iteration-in-python
Backward iteration in Python - GeeksforGeeks
July 11, 2025 - a = [1, 2, 3, 4, 5] #Loop through the List # reverse order using slicing(::-1) for item in a[::-1]: print(item) # same logic written using List comprehension # [print(item) for item in a[::-1]] ... Using a while loop provides you control over ...
🌐
Real Python
realpython.com β€Ί python-reverse-list
Reverse Python Lists: Beyond .reverse() and reversed() – Real Python
June 28, 2023 - For example, to reverse the list represented in the diagram, you can loop over the first half of the list and swap the element at index 0 with its mirror at index -1 in the first iteration.
🌐
OneCompiler
onecompiler.com β€Ί posts β€Ί 3z2wjwde7 β€Ί reverse-an-array-list-using-while-loop-python
Reverse an array(list) using while loop Python - Posts - OneCompiler
March 17, 2023 - Step 6: Print reversed list i.e. revArr ... Following is sample Python code. # taking the input from the user to fix the array size size=int(input("Enter the number of elements you want in array: ")) # Create two empty lists arr=[] revArr=[] # adding the elements to the list for i in range(0,size): elem=int(input("Please give value for index "+str(i)+": ")) arr.append(elem) startIndex = 0; lastIndex = size - 1; # iterate the while loop till the lastindex 0 while (lastIndex>=0): revArr.append(arr[lastIndex]) startIndex+=1 lastIndex-=1 # printing the reversed list print("Array in reverse order") for i in range(0,size): print(revArr[i],end=' ')
🌐
Reddit
reddit.com β€Ί r/learnprogramming β€Ί reversing a list in python?
r/learnprogramming on Reddit: Reversing a list in Python?
February 11, 2022 -

Hey, I'm learning lists in Python. When I try to use the reverse method to reverse my list it returns 'None'. I've read online that apparently this is because it doesn't actually change the list but I'm not sure what that means tbh. Even if it was a temporary modification, wouldn't it print that temporarily modified version of the list instead of printing 'None'? I found another solution (assuming the list is stored in my_list variable), print(my_list[::-1]). I understand that the -1 is referring to the end of the list (and maybe telling it to count back from there), but I have no idea what the '::' means. Would appreciate some help, thanks.

🌐
Tutorial Gateway
tutorialgateway.org β€Ί python-program-to-reverse-list
Python Program to Reverse List
January 3, 2026 - In this program, we declared a list of numbers and an empty list to store the reversed items. Next, len(a) – 1 returns the last index item in a given list. It means initializing the counter variable to the last index position. Here, the while loop will start iterating the list items from the last index position to the first position (i >= 0).
🌐
Python Morsels
pythonmorsels.com β€Ί looping-in-reverse
Looping in reverse - Python Morsels
May 27, 2025 - If you're working with a list, a string, or any other sequence in Python, you can reverse that sequence using Python's slicing syntax: >>> colors = ["purple", "blue", "green", "pink", "red"] >>> colors[::-1] ['red', 'pink', 'green', 'blue', 'purple'] The syntax looks weird, but it does work. If we wanted to write a for loop that iterated over our list from the end to the beginning, we could loop over the reversed slice of that list:
🌐
Medium
geekpython.medium.com β€Ί 8-ways-to-reverse-the-elements-in-a-python-list-ad50889bdd7e
8 Ways To Reverse The Elements In A Python List | by Sachin Pal | Medium
November 25, 2022 - Python reversed() function is also used to reverse the elements inside the list. Still, instead of returning the reversed object, it returns the reversed iterator object that accesses the values of a given sequence.
🌐
Upgrad
upgrad.com β€Ί home β€Ί tutorials β€Ί software & tech β€Ί how to reverse a list in python?
Reversing a List in Python
November 13, 2024 - This method involves swapping the first and last elements iteratively to reverse the list. Here are the general steps: Initialize two pointers, one at the start and one at the end of the list. Swap the elements at the two pointers.
🌐
WsCube Tech
wscubetech.com β€Ί resources β€Ί python β€Ί programs β€Ί list-reverse
Reverse a List in Python (6 Programs)
October 30, 2025 - Learn 6 different Python programs to reverse a list with easy examples, outputs, and explanations. Read now!
🌐
Unstop
unstop.com β€Ί home β€Ί blog β€Ί reversing python list | 10 ways explained with code examples
Python Reverse List | 10 Ways & Complexity Analysis ...
February 3, 2025 - Ways to reverse a list in Python include the built-in reverse() function, slice operator, reversed(), swapping, loops, list comprehension, list indexing, etc.