PHYTON QUESTION | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PHYTON QUESTION

Why are these symbols '>>>' before a new code line and in the playground not?

27th Jan 2017, 2:06 PM
program
program - avatar
1 Answer
+ 2
'>>>' is the prompt of the Python command line interpreter. If you run your script as 'standalone' text file, you don't have this sign: it's like the 'C:>' prompt in a msDOS command line... In code playground, you are not in a command line interpreter, but in a text editor, and you execute the script at distance, as you run it 'standalone' localy ( limited by no real-time input in code playground ).
28th Jan 2017, 2:04 AM
visph
visph - avatar