>>> ? | Sololearn: Learn to code for FREE!


>>> ?

Do we have to use >>> while writing the code or not ? And is there a space between >>> and print ?

10/4/2018 8:04:56 AM

Hrithik Chugh

2 Answers

New Answer


You can run python in 2 ways: script mode and interpreter mode. In script mode, you passing a python file script and all is runned. In interpreted mode you put a statement and python will execute then python expect some input from you and it make notice you by >>> string. In practice it tell you to insert some statement in interpreter mode but its not necessaru when you write scripts


this symbols are in python interpreter. If you use for example pycharm - no need to input it.