pyBegin / projects / timer

Timer

A simple countdown timer. It asks for a duration in seconds and counts up on screen, one second at a time, until the time is up.

23 linesRunnable

Timer

A simple countdown timer. It asks for a duration in seconds and counts up on screen, one second at a time, until the time is up.

How to run

python main.py

Dependencies

Standard library only (time).

Pyodide-runnable

Yes — it is a pure-stdlib console program; note that time.sleep blocks the browser tab while counting.