0
Why is there no output?
6 Answers
+ 4
Iana Makokha
var = 2 + 2 - (3*2)
print (var)
you need print function to show the result
+ 4
The playground is not a prompt. It doesn't automatically print your output. You should use a print statement like this:
print(2 + 2 - (3*2))
+ 2
So I should write the code as:
print (2+2-(3*2))
+ 2
Yes.
+ 2
Iana Makokha you're welcome!
+ 1
Thanks!