+ 2
Python relevant question, 'bout promt symbol.
When I'm giving output by using print(), the output is okay!, But when I put prompt symbol >>> before print (as shown in this app) then I'm getting an error, why so?
3 ответов
+ 5
Intepreter is a programming tool, that allows single statements to be executed once. You can use that to test single statements.
Because intepreter uses:
>>> in start of each line, many tutorials use these in the coding examples.
It is a common beginner mistake to use ">>>" in the Python playground.
+ 4
>>> symbol used to indicate that the syntax can be run directly in python interpreter.
+ 2
Thanks buddies for your help!