0

syntax erorr

i wrote a code of 2 + 2 in playground but it gave me erorr ..anyone can explain ?

26th Apr 2017, 3:10 PM
Mahmoud Yousry
Mahmoud Yousry - avatar
3 Respostas
+ 9
Is that all you wrote? If you want to store 4 you need a variable. example/ four = 2+2 print(four)
26th Apr 2017, 3:26 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
Please save and the code that gave you the error and provide a link here.
26th Apr 2017, 3:15 PM
Tob
Tob - avatar
0
2 + 2 works in actual Python
26th Apr 2017, 9:45 PM
Kit Weeks
Kit Weeks - avatar