0

What is the use of >>> in python?

please xplain clearly

29th Sep 2017, 3:12 AM
vishnutds
vishnutds - avatar
4 Answers
29th Sep 2017, 8:41 AM
Hatsy Rei
Hatsy Rei - avatar
+ 8
It's just a command line prompt, nothing else. It indicates you are using the one-command console, so it will interpret your commands right away (and not an IDE where you first edit your code and then run it as a whole).
29th Sep 2017, 6:58 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 3
i think it's the prompt for python's interactive shell, if you are using IDLE you will clearly see it because it interacts directly with the python interpreter, enabling direct execution of each statement you write. you can also see it in the command line, the moment you activate the python interpreter. on windows this can be done by simply typing python, that is if you have python in your path environmental variables.
29th Sep 2017, 9:12 AM
Germain F
Germain F - avatar
+ 1
>>> shows that you are using Python language
29th Sep 2017, 4:04 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar