Installing Python on a Windows machine is a relatively straightforward process. Here are the steps to follow:
Click on the link below 👇 and download the latest version of Python. Be sure to choose the version that is compatible with your operating system.
Download compatible versions
Python 3.9.0 : Download
Python 3.8.0 : Download
Python 3.7.0 : Download
Python 3.6.0 : Download
Python 3.5.0 : Download
Run when prompted by the User Account Control window.checkbox 
Now
Install Now optionFinish to exit the installer.That's it! Python is now installed on your machine and ready to use.
To verify the installation,
cmd in the search bar, and press Enter.Command Prompt from therepython and Press Enter 
This should bring up the Python interpreter, which you can use to run Python commands and scripts.
After successful installation, if it not working you might not check the add path option
Note: If you want to be able to use Python from any directory on your machine, you will need to add the Python installation directory to your PATH environment variable.
C drive where python is installedAddress Bar it will be like (C:\fodlernames\Python38-32)python to ensure it's working.