This is probably the easiest way to install python in your Mac computer. To install python, do the following steps:
.exe file and a dialog box will appear like below.
Add python.exe to PATH, and then click the Install Now option.Yes to proceed with the installation progress.
close button to close the dialog.
There are various ways to verify if Python was successfully installed in your Windows machine.
Open Windows control panel, Python should be listed as installed software.

You can also execute the command to check the version of Python installed in your machine using PowerShell or Command Prompt.
$ python --version
# prints the following
Python 3.10.0
Congratulations! You have successfully installed Python in your machine. Happy coding!!!