May 2019
Beginner to intermediate
452 pages
16h 34m
English
After the initial imports, the main script enters into an infinite loop that keeps checking for a button press event on button A. If it detects button A being pressed, it will call the countdown function to start the countdown. The countdown function loops through the list of numbers from 9 to 1.
In each loop, it will display the number and pause for 1 second before continuing to the next iteration. Once all nine iterations have completed, it clears the screen to mark the end of the timer.
Read now
Unlock full access