How do I start python and type the programs and run them

How do I start python and run the program

Hello @mohammed.pasha19! You may want to check out Python For Beginners | Python.org which has good information on installing Python for your specific operating system and beginning to write runnable Python code. You’ll only need a text editor (take your pick) to write your first Python code.

On windows, you can link the “.py” file with “idle.bat” (in the module “idlelib”) then edit and run it with idle. Or use “python -m idlelib xxx.py” to edit and run “xxx.py” with idle.
More, you can download the IDEs like PyCharm, VsCode and so on. They provide more powerful capabilities.