0
A function
. Create a function called timer, that takes one argument. Use a while loop to start a timer from the argument variable you choose and decrease that variable by 1 every 1 second. Your while loop should stop when the variable becomes 0. Hint, to count the time you can use the sleep function from the time module.
1 Odpowiedź
+ 4
Mane
This sounds like homework.
Do you have a code to go with your post