0
Pythons simple calculation help
I am trying to input a simple calculation into python and keep getting the message no output.... I am entering the line 2 + 2 this is exactly what is displayed in the python 3 tutorial
2 Respuestas
+ 5
Python understands the result of 2+2, but the problem is that it doesn't know that you want it to print the result to the console.
print(2+2) # prints to the console
The print statement does that work! :)
+ 1
try
print(2+2)