Skip to content
Advertisement

Timer implementation in python

I’m trying to implement a timer that counting down hours, mins and secs. I saw a similar implementation on the internet but still yet, there is nothing that printed to the terminal:

JavaScript

Advertisement

Answer

JavaScript

r denotes carriage return so timer is printed and then (very quickly) wiped, to avoid that you should print carriage return first, that is please try using

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement