Can't "open" code I wrote

I’m new to Python so I don’t know what’s the right term and while doing a course, couldn’t open the file where the code I wrote was saved. Did exactly what was written on the official website and it still doesn’t work.

On Windows one of the basic ways of running your Python program in a file would be:

  1. Start cmd.exe / Command Prompt (or how it is called in your Start menu) - the Windows command prompt in a terminal
  2. Switch to the directory where the script is (I am guessing the path from your picture):
    cd \Users\acer\Desktop\python
  3. Run your program:

I looks like you were already running the terminal but you started the interactive Python (also called REPL) there. You tried to execute commands intended for cmd.exe inside the interactive Python.