Support Forums

Full Version: Simple Timer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
import time
import os
os.system("clear")
x = int(raw_input("How much time do you want to put on the clock (In seconds)?: "))
x = x + 1
while x > 0:
os.system("clear")
x = x - 1
print x
time.sleep(1)
os.system("clear")
print "Times Up!"