0
I just started learning Python... But i got a problem..
There was written >>>print('hello world!'). But when i tried it, it didn't work... instead this worked print('hello world!')... can anybody help me please.
2 Answers
+ 5
The ">>>" bit is shown on 'some' consoles like the windows 'command prompt' (notice that the code playground doesn't have it though) and indicates that you are supposed to type your code starting from there, it isn't actually required in your code so the second way you tried is the correct way to print 'hello world!'.