Sublime Forum

Python won't run with an input statement


I have a simple problem. If I create a python program that has no inputs the program runs without a problem. If, however, there is an input request, after entering the number, the program halts in terminal. I’ve tried resetting the defaults which didn’t work. I had previously created a project with a debugging add in which I think may be something to do with it. I’ve attached a sample program and screen output. If I cut and paste the program into another compiler (e.g. VS Basic), the program runs as expected.

Can anyone help please?



You probably want to search the forum for this very frequently asked question.

The build system is not designed to be a terminal or repl. It’s designed to output compiler output only.

1 Like