stopwatch

Display a countdown for the python sleep function

Display a countdown for the python sleep function Question: I am using time.sleep(10) in my program. Can display the countdown in the shell when I run my program? >>>run_my_program() tasks done, now sleeping for 10 seconds and then I want it to do 10,9,8,7…. is this possible? Asked By: user1681664 || Source Answers: you could …

Total answers: 12