import time
def timer():
now = time.localtime(time.time())
return now[5]
run = raw_input(\"Start? > \")
while run == \"start\":
minutes = 0
current_
Your code's perfect except that you must do the following replacement:
minutes += 1 #instead of mins = minutes + 1
or
minutes = minutes + 1 #instead of mins = minutes + 1
but here's another solution to this problem:
def wait(time_in_seconds):
time.sleep(time_in_seconds) #here it would be 1200 seconds (20 mins)