Sublime Forum

Why won't Sublime Text execute code?

#1

Hello
I recently downloaded Sublime text and i thought of executing my first simple program.
print(“Hello World”)
code = input("type: ")
print(code)

When i wrote my program and build, the output is just coming as “Hello World” and it is not executing my program. I might be typing it wrong but it wrote
Hello World
type:
but when i run it in vscode, it runs properly.
Can anyone please help me with this issue?
Thank you

0 Likes

#2

Build systems (what you’re presumably using to run that code) do not support input. I suggest either using a full-fledged terminal emulator or using the Terminus package.

0 Likes

#3

thx for the help

0 Likes