Hello.
I’ve installed sublime text 4 and python 3. The only time the output is shown in when I use
the print function. Anything that does not require the print function, the output is blank.
Any help would be appreciated.
Hello.
I’ve installed sublime text 4 and python 3. The only time the output is shown in when I use
the print function. Anything that does not require the print function, the output is blank.
Are you using a repl of some kind of are you just running it using the built-in build system. Running a python script won’t output anything unless you print, that’s how the language works.
The first line in your program is an example of a print(); if you want to print the value on the second line, it needs to similarly contain a print().