def countdown(t):
while t > 0:
print(t)
t = t-1
time.sleep(1.0)
if t == 0:
print('blast off')
T=20
So this timer works well. It does what it needs, it counts which is what I want. But when it ends it stops my program I'm running it with and does a Timeouterror. Is there a countdown that won't do this or something I can add to it?