0
Why >>> give error?
why is that when I put >>> as shown on the sample it gives me error ?
4 Answers
+ 7
>>> Just shows that it is a console.
+ 1
In python?
What do you want to do?
Which sample? Probably the sample is just explaining you that you have to use them in the python console where >>> is shown before every line
+ 1
Yes, as Daniele said the >>> are put there to denote when you are in a python REPL prompt, but you shouldn't put them, since they are not valid syntax. Just put the instructions following them.
For example if the text tells you to type:
>>> print("hi!")
Just type:
print("hi!")
+ 1
hahaha I see now. Thanks guys!