Sublime Forum

Python won't run with an input statement

#1

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?

0 Likes

#2

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

https://forum.sublimetext.com/search?q=python%20input%20order%3Alatest

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

1 Like