0
Python syntax error for “>>>” in code playground.
Hi when I try to use the >>> operator I get an error. E.G. >>> “Hi” produces error on line 1: >>[error here]> “hi” ^
4 Respuestas
+ 11
>>> in those examples is just a way of telling you that the code is written in the python interpreter (console) and not in a text editor or IDE. it's Just show start of the code.
So tried to do print("Hi")
0
This even happen for code copied from a course example.
0
Thank you.
In that case at least not sure why the sytax highlighter picks it up, but at least I understand why it throws an error.