First time here? Check out the FAQ!
answered 4 years ago
Something like this
try: alarm(3) 33**33 except AlarmInterrupt: print("This takes too long.") continue