As clearly visible in the image after entering the number there is no output generated. Can anyone help me I am new to subline editor?
I used ctrl + B to execute, also tried ctrl + shift + B and everything else.
Half output is showing
abhi7585
#1
0 Likes
I am on my mobile right now but the short answer is that the default build system (the thing that executes your code when you pressctrl+b) uses the exec
command from Default/exec.py
to execute the code and display the output of the code to an output panel. There is no way you can enter something into the panel and hope that the code will continue executing. Any interactive program will be halted forever. There are many answers on the forum. Just search for “Python build system input”. Unfortunately, I can’t seem to link any of the excellent answers on this topic from my phone, but this should get you started.
0 Likes
nutjob2
#3
You can’t read input from the build window. What you’re trying to do doesn’t work.
0 Likes