Skip to content
Sign UpLog In
Profile icon

Molly Molly

@MGoodart
Repls
Community
MGoodart
MGoodart
shared a Post
4 years ago
KeyboardInterrupt
I have a python 3 program with a KeyboardInterrupt to stop a while True. In the IDLE it works fine, but in repl.it the ctrl + c just stops the program
ChristinaSchw
ChristinaSchw
Constants are a "bay area detail " special type of variable. Once declared, the value cannot be changed (unless you change the value when initializing it). In JS you use the const keyword: const pi = 3.141599 months ago
John_WardWard
John_WardWard
@MGoodart I don't know if it shall do anything, but try using repl.run if you haven't already.4 years ago