foo.reverse() actually reverses the elements in the container. reversed() doesn't actually reverse anything, it merely returns an object that can be used to iterate over the container's elements in reverse order. If that's what you need, it's often faster than actually reversing the elements.

Answer from kindall on Stack Overflow
๐ŸŒ
Reddit
reddit.com โ€บ r/pythontips โ€บ [video] python's reverse() vs reversed() - how they differ
r/pythontips on Reddit: [Video] Python's reverse() Vs reversed() - How they differ
January 16, 2024 - On the flip side, reversed() is a function that returns a reversed iterator, allowing you to create a reversed version without altering the original list.
Discussions

reversed vs [::-1]
Note that reversed() doesn't return a list, it returns an iterator. Your code snippets aren't equivalent. Should programmer choose carefully between slicing and reversed? Only if you have huge lists that take up gigabytes of memory. Just choose the one that expresses your intent more clearly. More on reddit.com
๐ŸŒ r/Python
6
3
June 24, 2014
[Video] Python's reverse() Vs reversed() - How they differ
Namaste! Thanks for submitting to r/developersIndia . Make sure to follow the Community Code of Conduct while participating in this thread. Join ToolJet's CEO & Founder Navaneeth Padanna Kalathil: An AMA on Software Engineering, Open-Source, and more! - Jan 20th, 12:00 PM IST! I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
๐ŸŒ r/developersIndia
1
0
January 16, 2024
why reversed (list) is iteratorable but list.reverse() is not?
Basically because the reverse() function has a return type of None, it modifies the list in place. It's a call to a function, not to the list itself. Just like you couldn't do reversed_list = list.reverse(), because reversed_list would hold the value of None (But the list variable would still be reversed in-place). Where list[::-1] is a call to the list itself, with instructions on how to iterate through it. More on reddit.com
๐ŸŒ r/learnpython
24
12
August 26, 2024
Why does [::1] reverse a string in Python?
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: Limiting your involvement with Reddit, or Temporarily refraining from using Reddit Cancelling your subscription of Reddit Premium as a way to voice your protest. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
๐ŸŒ r/learnprogramming
15
12
September 21, 2023
๐ŸŒ
Geek Python
geekpython.in โ€บ reverse-vs-reversed-in-python
Reverse Vs Reversed Function In Python - Comparison
January 17, 2024 - The reverse() function from Python List is used to reverse the elements in a List wjereas, Python reversed() function takes a sequence and returns the reversed iterator object.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ python-reversed-vs-1-which-one-is-faster
Python - reversed() VS [::-1] , Which one is faster? - GeeksforGeeks
July 15, 2025 - The format [a : b : c] in slicing states that from an inclusive to b exclusive, count in increments of c. In the above code, a and b are blank and c is -1. So it iterates the entire list counting from the last element to the first element resulting in a reversed list. ... # Python code to reverse a list using slicing # Original list original_list = [110, 220, 330, 440, 550] print('Original list:', original_list) # Reversing the list using slicing reversed_list = original_list[::-1] # Printing the reversed list elements print('Reversed list elements:') for element in reversed_list: print(element)
๐ŸŒ
Medium
medium.com โ€บ @naqvishahwar120 โ€บ reverse-vs-reversed-in-python-9c210e3f125e
reverse() vs reversed() in Python - Shahwar Alam Naqvi - Medium
January 17, 2025 - reverse() vs reversed() in Python Python reverse() Mutating method : It modifies the original list Returns nothing, just changes the list. Works only on List. Example : mera_list = โ€ฆ
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ how-to-use-the-reverse-and-reversed-methods-in-python
How to use the reverse() and reversed() methods in Python
It modifies the list but the reversed() method gives an iterator to help traverse the given list in reversed order.
๐ŸŒ
Plain English
python.plainenglish.io โ€บ understanding-reverse-vs-reversed-in-python-4ce1750722d4
Understanding reverse vs reversed in Python | by Allwin Raju | Python in Plain English
November 19, 2024 - The reverse() method is specific to mutable sequences, such as lists. It modifies the sequence in place, which means the original data structure is updated and no new object is created.
Find elsewhere
๐ŸŒ
Medium
vinitatimesq29.medium.com โ€บ difference-between-reverse-and-reversed-built-in-functions-in-python-87761c2628e3
Difference between Reverse() and Reversed() built-in functions in Python. | by Vinita | Medium
August 20, 2020 - While both reverse() and reversed() are built-in functions and they are used to reverse a list but we need to understand two differences w.r.t.
๐ŸŒ
YouTube
youtube.com โ€บ watch
Python's reverse() Vs reversed() | 2MinutesPy - YouTube
#reverse #reversed #list #coding #python #pythonprogramming #2minutespy ๐Ÿ–Hey, want to know what are Python's reverse() and reversed() and how they differ...
Published ย  January 15, 2024
๐ŸŒ
Anujcodes
anujcodes.com โ€บ choosing-the-right-method-for-reversing-sequences-in-python-reverse-vs-reversed
Reverse a List in Python: reverse() vs. reversed() โ€“ Anuj Sharma
Python provides two common ways to reverse a list: reverse() method (modifies the list in-place) reversed() function (returns a reversed iterator) Each has its own advantages depending on the use case. Works only on lists. Modifies the original list directly (in-place).
๐ŸŒ
Reddit
reddit.com โ€บ r/python โ€บ reversed vs [::-1]
r/Python on Reddit: reversed vs [::-1]
June 24, 2014 -

I always thought that slice operation for reversing of the list or something else is fastest one. But after watching "Transforming Code into Beautiful, Idiomatic Python" on youtube I have decided to compare slice and reversed method to each other. Obviously reversed is faster than slicing when we assign the result to new variable. But when we want just to reverse without having new variable results are roughly the same or even better for slicing . Here is the graph and tested code

graphs!

import timeit
example = '''
d = [1,2,3,4,5,6,7,8,9,0]
d = reversed(d)
'''
example2 = '''
d = [1,2,3,4,5,6,7,8,9,0]
d = d[::-1]
'''
print(timeit.timeit(example, number=100000000))
print(timeit.timeit(example2, number=100000000))
  
  
import timeit
example = '''
d = [1,2,3,4,5,6,7,8,9,0]
new_var = reversed(d)
'''
example2 = '''
d = [1,2,3,4,5,6,7,8,9,0]
new_var = d[::-1]
'''
print(timeit.timeit(example, number=100000000))
print(timeit.timeit(example2, number=100000000))

Should programmer choose carefully between slicing and reversed?

๐ŸŒ
Medium
geekpython.medium.com โ€บ reverse-vs-reversed-comparing-two-same-looking-functions-e1a02c8215a0
Reverse Vs Reversed โ€” Comparing Two Same-Looking Functions | by Sachin Pal | Medium
November 30, 2022 - We cannot use the reverse function on the string data type or any other data type. The reverse() function can only be used for the list data type. Python reversed() function takes a sequence and returns the reversed iterator object.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ python-reversed-function
Python reversed() Method - GeeksforGeeks
February 17, 2026 - Explanation: reversed(a) returns an iterator, list() converts the iterator into a list and the elements appear in reverse order.
๐ŸŒ
Plain English
python.plainenglish.io โ€บ 1-vs-reversed-which-one-is-the-smart-way-to-reverse-a-list-da6ee6c22e2d
[::-1] vs reversed() โ€” Which One Is the Smart Way to Reverse a List? | by Leo Liu | Python in Plain English
April 24, 2025 - New Python content every day. Follow to join our 3.5M+ monthly readers. ... Reversing a list is one of the most common tasks in Python. But when it comes to choosing between [::-1] (slicing) and reversed() (built-in function), most Pythonistas have strong opinions.
๐ŸŒ
Real Python
realpython.com โ€บ python-reverse-list
Reverse Python Lists: Beyond .reverse() and reversed() โ€“ Real Python
June 28, 2023 - To meet the first challenge, you can use either .reverse() or a loop that swaps items by index. For the second, you can use reversed() or a slicing operation. In the next sections, youโ€™ll learn about different ways to accomplish both in your code. ... Like other mutable sequence types, Python lists implement .reverse().
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ how-to-use-reverse-in-python
How to use reverse() in Python
On the other hand, reverse() does not take any arguments, nor does it return anything.
๐ŸŒ
Note.nkmk.me
note.nkmk.me โ€บ home โ€บ python
Reverse a List, String, Tuple in Python: reverse, reversed | note.nkmk.me
August 16, 2023 - In Python, you can reverse a list using the reverse() method, the built-in reversed() function, or slicing. To reverse a string (str) and a tuple, use reversed() or slicing. Reverse a list using the r ...
๐ŸŒ
Exercism
exercism.org โ€บ tracks โ€บ python โ€บ exercises โ€บ reverse-string โ€บ approaches โ€บ built-in-reversed
Explore the 'Use the built-in reversed() function.' approach for Reverse String in Python on Exercism
This has over-complicated reversed(), as it can be called directly on the input string with almost no overhead. This has also incurs the performance hit of repeated concatenation to the 'output' string. While this approach looks as if it would be similar to the first, it is actually O(n**2) in time complexity due to string concatenation. It was also the slowest in benchmarks. As a (very) rough comparison, below is a timing table for these functions vs the canonical reverse slice: