0
Code playground displays syntax error?
Hey guys. When I try to do this >>>print('Hello world') and run this on code playground it always says syntax error. Whats wrong?
4 Respuestas
+ 6
The three '>>>' are not intented to be typed ^^
This is the 'prompt' of a command line interpreter... Playground behaviour is like a Python file ran, not a command line, and even so, the 'prompt' is here, but nere must be typed ;)
+ 6
Again because in Playground you're like in a file, and output require use of print() function ^^
0
Thanks i got it ^^
Now when i try
9+2
It says no output?
0
Ahh really got it now! Thanks again :)