+ 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
1 Answer
+ 3
u didn't put : at the end
The error reads: File "<stdin>", line 1 if 1+1==2 ^ SyntaxError: invalid syntax