Syntax error in python: >>> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Syntax error in python: >>>

Yes, I already searched for this. I didn't find anything in regards to errors like this: File "..\Playground\", line 1 >>> input("Number here: ") ^ SyntaxError: invalid syntax Tried with and without spaces. EDIT: Changed search terms and found that Code Playground doesn't need >>>.

16th Jan 2019, 3:14 PM
What was my name again?
What was my name again? - avatar
1 Answer
+ 2
Yeah, ">>>" is the command prompt, you are not supposed to type it.
16th Jan 2019, 4:03 PM
Zen - avatar