Why when I use this ( >>> ), without the brackets of course .. an error happens? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why when I use this ( >>> ), without the brackets of course .. an error happens?

when I use this ( >>> ), without the brackets of course, and I go to run the code an error happens.

18th Feb 2017, 9:27 PM
Hazem Ahmed
Hazem Ahmed - avatar
1 Answer
0
The >>> is not an operator, but is usually the prompt when using python IDLE and may sometimes be seen when reading python code as such. It shouldn't be included in your code. The >> operator is a bitwise shift right and > is the greater than comparison operator.
18th Feb 2017, 10:36 PM
ChaoticDawg
ChaoticDawg - avatar