#Timer//////////////paul
import time
ee = -2
ms = input("type 1 for minutes and 2 for seconds")
if(ms == 2):
z = float(input("# of seconds"))
ee = ee+1
while(ee<z):
ee = ee+1
print(ee)
time.sleep(1)
elif(ms == 1):
z = float(input("# of minutes"))
ee = ee+1
while(ee<z):
ee = ee+1
print(ee)
time.sleep(60)
else:
print("As Trump says WRONGGGGG")
my timer
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.