>>> variable vs variable without >>> | Sololearn: Learn to code for FREE!


>>> variable vs variable without >>>

in the 'try it yourself" why is the >>> missing? I tried to enter a variable with >>> love=7, that did not work. When I eliminated the >>>, it worked. Is this a python version 3 thing?

3/1/2018 11:25:04 PM


3 Answers

New Answer


the >>> is only writen in the console or idle , you don't need to enter it)


Thank you Nick, does that mean I will not have to enter it in the real python program?


In python shell you can't save a real python program,use File ,create new file ,save it as file_name.py and run it.