0

[DUPLICATE] What is the use of ">>>"?????

9th May 2018, 11:29 AM
thanu
2 Answers
+ 1
It means that what's at the next of these three brackets are being typed into an interactive session, kind of like what you see when you open the Python terminal. This is for documentation purposes only, and does not really mean anything related to the program logic. Just a little example: >>> print "Hello world." Hello world.
9th May 2018, 11:36 AM
apex137
apex137 - avatar
+ 1
>>> is the Python prompt According to Wikipedia: "Command prompt A command prompt (or just prompt) is a sequence of (one or more) characters used in a command-line interface to indicate readiness to accept commands. It literally prompts the user to take action. A prompt usually ends with one of the characters $, %, #, :, > and often includes other information, such as the path of the current working directory and the hostname."
9th May 2018, 11:46 AM
Ulisses Cruz
Ulisses Cruz - avatar