range() and xrange() take a third parameter that specifies a step. So you can do the following.

range(10, 0, -1)

Which gives

[10, 9, 8, 7, 6, 5, 4, 3, 2, 1] 

But for iteration, you should really be using xrange instead. So,

xrange(10, 0, -1)

Note for Python 3 users: There are no separate range and xrange functions in Python 3, there is just range, which follows the design of Python 2's xrange.

Answer from Chinmay Kanchi on Stack Overflow
๐ŸŒ
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]]
๐ŸŒ
Python Morsels
pythonmorsels.com โ€บ looping-in-reverse
Looping in reverse - Python Morsels
May 27, 2025 - To loop in the reverse direction, you can use Python's built-in reversed function: >>> colors = ["purple", "blue", "green", "pink", "red"] >>> for color in reversed(colors): ... print("I like", color) ...
Discussions

python - Loop backwards using indices - Stack Overflow
I am trying to loop from 100 to 0. How do I do this in Python? for i in range (100,0) doesn't work. For discussion of why range works the way it does, see Why are slice and range upper-bound exclu... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Reversing a range using a FOR LOOP
You should show what you've tried so far. It's easier to give productive help if we base the help on code you've written. It doesn't require a for-loop though. You can use one, but it would be far more straightforward with a while. Be careful of artificially limiting what tools you consider. More on reddit.com
๐ŸŒ r/learnpython
11
0
December 24, 2022
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
How do I use reverse list in Python to loop through a list backwards? - Ask a Question - TestMu AI Community
I want to iterate over a list in reverse order using Python. Whatโ€™s the most efficient or Pythonic way to handle a python reverse list scenario, especially when looping? Are there any differences between using reversed() and slicing like my_list[::-1]? Would love a quick example! More on community.testmuai.com
๐ŸŒ community.testmuai.com
0
July 2, 2025
๐ŸŒ
Spark By {Examples}
sparkbyexamples.com โ€บ home โ€บ python โ€บ python for loop in backwards
Python For Loop in Backwards - Spark By {Examples}
May 31, 2024 - Following are the examples of for loop in backwards # Example 1: Get the loop iteration in Backwards # Using reversed() print("Get the loop in backwards") for i in reversed(range(1,6)): # Example 2: Get the for loop in backwards using range() ...
๐ŸŒ
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.
๐ŸŒ
EyeHunts
tutorial.eyehunts.com โ€บ home โ€บ reverse for loop in python | example code
Reverse for loop in Python | Example code - EyeHunts
September 8, 2021 - A code demonstrates how to backward iteration is done with reversed() function on the for-loop. list1 = [1, 2, 3, 4] for i in reversed(list1): print(i) ... list1 = ['Mon', 'Tue', 'Wed', 'Thu'] for i in range(len(list1) - 1, -1, -1): print(list1[i], ...
Find elsewhere
๐ŸŒ
JanBask Training
janbasktraining.com โ€บ community โ€บ python-python โ€บ how-do-i-reverse-a-list-or-loop-over-it-backwards
How do I reverse a list or loop over it backwards? | JanBask Training Community
June 4, 2025 - Python offers built-in features that make this process clean and readable. ... The reversed() function returns an iterator that yields the elements of the list in reverse order. my_list = [1, 2, 3, 4, 5] for item in reversed(my_list): print(item)
๐ŸŒ
Medium
medium.com โ€บ becoming-a-better-software-developer โ€บ undetstanding-python-iterators-reversed-iteration-35f1c1d16196
Undetstanding Python Iterators: Reversed Iteration | by Saleem Latif | Becoming a better Software Developer | Medium
March 8, 2023 - >>> numbers = [1, 2, 3, 4, 5] >>> for number in reversed(numbers): ... print(number, end=" ") 5 4 3 2 1 ยท In the above example, we are reverse iterating over a list of numbers using the reversed() function.
๐ŸŒ
Replit
replit.com โ€บ home โ€บ discover โ€บ how to iterate backwards in python
How to iterate backwards in Python | Replit
March 3, 2026 - The loop starts at 5 and is told to count down with a step of -1. Because the stop value 10 is already higher than the start, the sequence is empty from the beginning. The example below shows the correct approach. # Correctly specifying start > end for reverse iteration for i in range(10, 4, -1): print(i, end=' ') # Prints: 10 9 8 7 6 5
๐ŸŒ
TestMu AI Community
community.testmuai.com โ€บ ask a question
How do I use reverse list in Python to loop through a list backwards? - Ask a Question - TestMu AI Community
July 2, 2025 - I want to iterate over a list in reverse order using Python. Whatโ€™s the most efficient or Pythonic way to handle a python reverse list scenario, especially when looping? Are there any differences between using reversedโ€ฆ
๐ŸŒ
Mimo
mimo.org โ€บ glossary โ€บ python โ€บ for-loop
Python For Loop: Syntax and Examples [Python Tutorial]
You can loop over a sequence in reverse order by using the reversed() Python function.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ ref_list_reverse.asp
Python List reverse() Method
The built-in function reversed() returns a reversed iterator object. ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: sales@w3schools.com ยท If you want to report an error, or if you want to make a suggestion, send us an e-mail: help@w3schools.com ยท HTML Tutorial CSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial
๐ŸŒ
CodeRivers
coderivers.org โ€บ blog โ€บ python-reverse-loop-for
Python Reverse `for` Loop: A Comprehensive Guide - CodeRivers
January 29, 2025 - If you need to access both the element and its index during reverse iteration, using range() can be more suitable as it allows you to access the index directly. Choose the method of reverse iteration that makes your code the most readable. For simple reverse iteration over a sequence, the reversed() function is usually the best choice as it is more concise and easier to understand. If your reverse loop is part of a larger algorithm, make sure to document the purpose of the loop clearly, especially if the reverse iteration is not immediately obvious from the code. Python reverse for loops provide a powerful and flexible way to iterate over sequences in reverse order.
๐ŸŒ
Python Help
pythonhelp.org โ€บ python-lists โ€บ how-to-reverse-a-list-in-python-using-for-loop
Reversing a List in Python Using For Loop
In this example, we are using for loop to iterate over indices and append the elements in reverse order into the new list, resulting in a reversed version of the original list. Written for working developers, Coding with AI goes beyond hype ...
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ article โ€บ backward-iteration-in-python
Backward iteration in Python
3 weeks ago - Use reversed() for the most Pythonic and memory-efficient backward iteration. Use [::-1] for short, readable code when a copy is acceptable.