0
What is >>> used in code in tutorials? when tried it in console >>>print"hey" it gave me an error
3 ответов
+ 4
that is a prompt sign of the python Console.. it won't work in the code Playground because it is an IDE.. not a console..
+ 3
first >>> is not a part of your code, you don't write it.
and if you don't use python 2 but 3 you cannot write print "Hello!" but you should write print("Hello!") since print is a function for python now.
+ 1
try typing
print("hey")
instead of typing
>>>print"hey"