Ask coding questions

← Back to all posts
Another Question/Python
JerryTheMouse (4)

I was using
except KeyboardInterrupt:
...
in my code. But, after trying it, when I do CTRL+C it handles it but the program continues to prompt the user for a value (as if it I didn't interrupt the program). Help!
https://repl.it/@JerryTheMouse/numberTruthynessChecker

Commentshotnewtop
Edgod (80)

CTRL+C works fine on my keyboard and it does interrupt the program, but it doesn't do the exception. It could be a bug in repl.it.