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
This method builds a reversed version of the list using slicing with a negative step. ... Python's built-in reversed() function is another way to reverse the list.
Published   May 29, 2026
Discussions

Reversing a list in Python?
I have no idea what the '::' means Please read about ranges in python. They are used all the time and you really need to understand them. There is reverse() and reversed() in python. One changes the list and the other doesn't change the list, but iterates through it from the back. More on reddit.com
🌐 r/learnprogramming
12
1
February 11, 2022
How to reverse an array? - Python - Data Science Dojo Discussions
Hey everyone. I need your help. This is my vector [1,2,3,4,5] . I want to invert in a way that the last value comes first and so on. I used the list function but that is on applicable to Python’s built-in List and not working on my array. Please provide me with a solution that reverses my array. More on discuss.datasciencedojo.com
🌐 discuss.datasciencedojo.com
3
0
February 16, 2023
Why does [::-1] reverse a list?
[Start:stop:step] if you're going in steps by negative one, you're going backwards More on reddit.com
🌐 r/learnpython
57
187
March 12, 2022
How to reverse a Python list (3 methods)
Well don't forget about doing it by hand! print(list(lst[i] for i in range(-1, -len(lst)-1, -1))) More on reddit.com
🌐 r/Python
4
0
February 19, 2022
🌐
AskPython
askpython.com › python › array › reverse-an-array-in-python
Reverse an Array in Python – 10 Examples - AskPython
April 14, 2026 - Python gives you multiple ways to reverse arrays, and the right choice depends on your data type and whether you need to preserve the original. For quick in-place reversal of a list, use list.reverse(). For a reversed copy without touching the original, slicing [::-1] is clean and idiomatic.
🌐
W3Schools
w3schools.com › Python › ref_list_reverse.asp
Python List reverse() Method
Python Examples Python Compiler ... Plan Python Interview Q&A Python Bootcamp Python Training ... The reverse() method reverses the sorting order of the elements....
🌐
Mimo
mimo.org › glossary › python › list-reverse-method
Python List reverse() Method: Syntax, Methods, and Examples
Learn how to reverse a list in Python using slicing, reverse(), reversed(), and loops. Compare methods, use cases, and performance best practices.
🌐
Codecademy
codecademy.com › article › how-to-reverse-a-list-in-python
How to Reverse a List in Python | Codecademy
Learn how to reverse a list in Python using `.reverse()`, `reversed()`, slicing, the two-pointer method, loops, and recursion with examples.
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › dsa › program-to-reverse-an-array
Array Reverse - GeeksforGeeks
DSA Python · Last Updated : 29 Mar, 2026 · Reverse an array arr[]. Reversing an array means rearranging the elements such that the first element becomes the last, the second element becomes second last and so on.
Published   March 29, 2026
🌐
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.

🌐
NumPy
numpy.org › doc › 2.2 › reference › generated › numpy.flip.html
numpy.flip — NumPy v2.2 Manual
>>> import numpy as np >>> A = np.arange(8).reshape((2,2,2)) >>> A array([[[0, 1], [2, 3]], [[4, 5], [6, 7]]]) >>> np.flip(A, 0) array([[[4, 5], [6, 7]], [[0, 1], [2, 3]]]) >>> np.flip(A, 1) array([[[2, 3], [0, 1]], [[6, 7], [4, 5]]]) >>> np.flip(A) array([[[7, 6], [5, 4]], [[3, 2], [1, 0]]]) >>> np.flip(A, (0, 2)) array([[[5, 4], [7, 6]], [[1, 0], [3, 2]]]) >>> rng = np.random.default_rng() >>> A = rng.normal(size=(3,4,5)) >>> np.all(np.flip(A,2) == A[:,:,::-1,...]) True
🌐
freeCodeCamp
freecodecamp.org › news › python-reverse-list-reversing-an-array-in-python
Python Reverse List – Reversing an Array in Python
September 6, 2022 - Lists are mutable, meaning they ... at any time throughout the life of the program. The .reverse() method in Python is a built-in method that reverses the list in place....
🌐
Rice
dev-dining.rice.edu › info › python-reverse-array-5108411
Python Reverse Array
May 27, 2026 - Rice University is committed to advancing knowledge by providing access to innovative research, indexed publications, and international collaboration platforms.
🌐
Real Python
realpython.com › python-reverse-list
Reverse Python Lists: Beyond .reverse() and reversed() – Real Python
June 28, 2023 - Now, how can you reverse a list in place by hand? A common technique is to loop through the first half of it while swapping each element with its mirror counterpart on the second half of the list. Python provides zero-based positive indices to walk sequences from left to right.
🌐
Tutorialspoint
tutorialspoint.com › python › python_reverse_arrays.htm
Python - Reverse Arrays
Reversing an array is the operation of rearranging the array elements in the opposite order. There are various methods and approaches to reverse an array in Python including reverse() and reversed() methods.
🌐
Data Science Dojo
discuss.datasciencedojo.com › python
How to reverse an array? - Python - Data Science Dojo Discussions
February 16, 2023 - Hey everyone. I need your help. This is my vector [1,2,3,4,5] . I want to invert in a way that the last value comes first and so on. I used the list function but that is on applicable to Python’s built-in List and not w…
🌐
Medium
medium.com › @ryan_forrester_ › python-array-reverse-complete-guide-37f508724621
Python Array Reverse: Complete Guide | by ryan | Medium
October 28, 2024 - Let’s explore the different ways to reverse lists in Python, with practical examples you can use in your own code. The `reverse()` method is Python’s built-in solution for flipping lists.
🌐
DEV Community
dev.to › christina_sharons_2b3205 › reversing-an-array-in-python-ca05-1jfb
Reversing an Array in Python - CA05 - DEV Community
March 23, 2026 - Reversing an array is simple but fundamental. The two-pointer method is the most efficient in terms of space, while Python’s built-in methods provide quick and readable solutions.
🌐
Reddit
reddit.com › r/python › how to reverse a python list (3 methods)
r/Python on Reddit: How to reverse a Python list (3 methods)
February 19, 2022 -

There are three methods you can use to reverse a list:

  1. An in-place reverse, using the built-in reverse method that every list has natively

  2. Using list slicing with a negative step size, resulting in a new list

  3. Create a reverse iterator, with the reversed() function

You can try this for yourself too. Click here to open a runnable/editable example.

🌐
Quora
quora.com › How-do-I-reverse-an-array-in-Python
How to reverse an array in Python - Quora
Answer (1 of 3): Reverse an array in python Reverse an array in Python is simple. in python there is various method to reverse an array that is slicing method, using a reverse method, using the reversed method, etc. 1. Using Slicing method in python 3 : arr = [1,2,3,4,5,6,7,8,9,0] print(“the o...