Happy New Year Animation

happy-new-year-textIn this challenge we will use Python code to create a text-based (ASCII) animation to be used as a final countdown before the new year!

Our countdown timer will be based on a for loop to count down from 5 to 0. It will also make use of the sleep() function from the time library to allow 1 second between each iteration of the for loop.

Check our two animations below:

5-4-3-2-1 Hapy New Year! - Version 1.0Version 2.0

Version 1.0



Version 2.0


This animation makes use of 10 procedures called one(), two(), three(),…, upto ten() to improve the output of our countdown timer. These procedures are all stored in a module called myNumbers.

More Text-Based Animations


Visit this blog post to find the code for more text-based animations and start creating your own animations.

Share Button
Tagged with: ,