Two Simple Ways to Count Backwards in Python

Learn to use the range() function

Jonathan Hsu
Code 85
Published in
2 min readMay 18, 2020

--

There are a variety of reasons to count backwards in a program. Maybe you want to iterate over a list starting from the end or simply want to display a countdown timer.

We have multiple options available to us and are going to introduce two of those options: manually modifying a counter variable and using…

--

--