6 Réponses
+ 2
I use a phone for sololearn
print(3+4) works for me
3+4 generates a 'no output' message
+ 1
Ah ok so when using the environment in the app or the website, you are essentially using an IDE. When using an IDE or text editor, you must use the print function to output the result. You don't need it if you are typing code directly into the python terminal itself.
+ 1
If you have the Python IDE, it has a shell that lets you just type in any math sentences or commands. You don’t need a print statement for plain strings or math equations
0
In the tutorial section, it states about the python interpreter, where each line is executed there itself..
0
Yes you can do this. I have python 3.7.2 and was able to do exactly that. What is the error code you received?