I am just getting started with Python and wrote a simple perimeter program. However whenever I type python perimeter.py in my terminal I get the following error I don't know how to solve it.
>>> python perimeter.py
File "<stdin>", line 1
python perimeter.py
^
SyntaxError: invalid syntax
What is that problem? How do I fix it?
Thanks.