Skip to content
Advertisement

Output without “print()” in SublimeText

Is there a way/plug-in to enable output without “print()” in SublimeText?

For example,

JavaScript

Output:

JavaScript

Wanted:

JavaScript

Output:

JavaScript

P.s. I also tried below:

enter image description here

enter image description here

Advertisement

Answer

I am pretty sure that the answer is no. You can rename the print function to make it less noticable like this:

JavaScript

Output is 2

Alternatively:

As a few people mentioned in the comments, what you are likely looking for is a repl, which you can get by simply running python command directly in your terminal.

like this:

JavaScript

that should take you to an interactive environment that gives you real time results for the python code you input. Below is an example…

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement