0
I keep getting syntax error
Hey guys. First time coding/trying this. Trying to familairise myself with very basic stuff first. when i type equations into console it keeps returning syntax error. I've tried different ways... 2+2, >>> 2+2, 2 + 2, also tried division, multiplication, etc can't seem to get an output. Any help would be good. Thank you
4 ответов
+ 1
what exactly did you type?
0
Try using a text editor like brackets.io or CoffeeCup
0
Sunera.I'll put each variant i tried on a nwe line. I typed...
>>> 2+2
>>> 2 + 2
2+2
2 + 2
did same variations with / & * & -
I'll look into those Nick
0
Try this:
x = 2+ 2
print(x)