In 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:
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.