Running python scripts at the idle issues

I am trying to run a small program in python idle but don’t know how to execute it. I press
run from the menu and it just opens up a new idle window. What am I doing wrong?

Hello, @zensky, and welcome to the Python Forum!

Do you have the program open in the IDLE editor when you attempt to run it?

Not shure what you mean I have python idle running and I have my source code in the idle.

What operating system are you using? The screen capture above was from a MacBook Air.

EDIT (December 18, 2021):

Have you checked the official documentation for IDLE, as it applies to your operating system?