Quote:I tried running this code in Python 2.7 (pressing F5) it shows syntax error help!You can not have
>>>
in script,it's used when in interactive shell.So if run code as script,i need to not use
>>>
.[Image: Wn7asS.jpg]
As a new user you should use Python 3.6 and pip installation under Windows
Find a editor better than IDLE.
PyCharm free Community edition , Thonny.
REPL IPython or ptpython and look at part-2.