+ 3

What does " >>> " stand for in python ?

21st Dec 2017, 1:44 PM
Aditya Kumar
Aditya Kumar - avatar
3 Antworten
+ 9
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 cause 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 (or on an Android device using QPython3), you can try the console or the code editor. https://docs.python.org/3.6/tutorial/interpreter.html?highlight=interpreter
21st Dec 2017, 6:41 PM
David Ashton
David Ashton - avatar
+ 5
it display in python console
21st Dec 2017, 1:48 PM
Vukan
Vukan - avatar