Hey guys, started a python book, and while everything works fine with the idle IDE, when i try to run in the terminal, i get errors.
this is the only code in the "print.py" file, which was saved directly from the IDLE script window.
after making it executable with chmod, here is my output
Code:
ant@ant-chrome ~/python $ ./print.py
./print.py: line 1: syntax error near unexpected token `"Game Over"'
./print.py: line 1: `print("Game Over")'
ant@ant-chrome ~/python $
also, i am using python 3.5.2 shell in IDLE, and thats also what "python --version" outputs in the cli as well.
What am I doing wrong?