What does >>> do in python

It is the primary prompt for the interactive mode of the interpreter. It is not actually part of the language.

You would probably see this if someone copy and pasted from a terminal when using the interactive mode of the interpreter.

Leave a Comment