+ 1

Why do I keep getting SyntaxError: invalid syntax when I type 1+1==2:

The error reads: File "<stdin>", line 1 if 1+1==2 ^ SyntaxError: invalid syntax

21st Nov 2016, 9:55 AM
Wayne Porter
Wayne Porter - avatar
1 Odpowiedź
+ 3
u didn't put : at the end
21st Nov 2016, 10:31 AM
Edgaras