0
Why isn' t the >>> 2 + 2 not working
I type >>> 2 + 2 on the python ' s playground but it doesn't work pls help
3 Answers
+ 5
Code Playground runs Python scripts. So you have to write one instead of treating it like the live Python shell. >>> is just the shell prompt, so you're not supposed to use it in your scripts. Try:
print(2+2)
+ 1
print (2+2), try this
0
It worked thanks