For installing Python on Windows, follow the steps shown below:
Click on this link for installing the python:
Download Python
After that, install it on your PC by looking for the location where PYTHON has been installed on your PC by executing the following command on command prompt;
cmd python.
Visit advanced system settings and after that add a new variable and name it as PYTHON_NAME and paste the path that has been copied.
Search for the path variable -> select its value and then select ‘edit’.
Add a semicolon at the end of the value if it’s not present and then type %PYTHON_HOME%