+ 1

Having a hard time with the Python 3 Code Playground

I'm trying to do a simply equation in the code playground, and I'm a little confused. During the tutorial it uses the example ">>> 1 + 2 + 3" but when I type it into the playground, it doesn't work and keeps coming up with an error. What am I doing wrong?

9th May 2018, 4:34 PM
Morgan Marshall
Morgan Marshall - avatar
1 Answer
+ 3
">>> 1+2+3" works good on the Python 3.x console. But, SoloLearn compiler isn't the same as the Python console. So, you have to write something like: print(1+2+3) # in order to see the output
9th May 2018, 4:59 PM
777
777 - avatar