0

Why you put this: >>> before writing?

15th Jul 2019, 4:00 PM
Perrin Njietche
Perrin Njietche - avatar
3 Answers
+ 1
To tell that the code is executed in the intepreter line. It is a tool that lets you execute single statements. In that tool each line starts with >>>
15th Jul 2019, 4:04 PM
Seb TheS
Seb TheS - avatar
+ 1
You can run the same code in the playgrounds, but you need to ignore the >>>. You'll get more familiar with it when you download a Python IDE.
15th Jul 2019, 4:16 PM
Seb TheS
Seb TheS - avatar
0
so, it's an obligation when it's a single statement?
15th Jul 2019, 4:08 PM
Perrin Njietche
Perrin Njietche - avatar