For example:
# 5 second response, if user doesn't do it in 5 seconds, then quit()
a = input('Stack Overflow is cool')
if a == yes
print('Harold882')
else:
print('asdf')
How can you do that, or just make a timer in general?
I also tried making different timers, but they didn't work.