+ 1
In python , What are these '>>>' symbols used for ?
2 Réponses
+ 4
The 3 chevrons '>>>' are the input prompt beginning a new line in the Python console, or interactive shell. They are not part of the code and are never written. The lessons use them to show what code run in the shell looks like and frequently causes some confusion. Use the "try it yourself" feature in the lessons and you will see there are no >>> prompts used.
If you are running Python on a PC using IDLE, you can try the console or the code editor.
https://docs.python.org/3.6/tutorial/interpreter.html?highlight=interpreter
+ 2
thanks @david_Ashton