It may be possible that some PCs and Macs will have Python already installed. You can check which version of Python is installed before proceeding to the installation.
Open the CMD-Command line to termnal and type the below command.
python -- version
If you found that Python has already been installed, then start installing it using the following instructions.
Installing or updating Python on your computer is the first step to start with programming in Python. There are multiple installation methods, such as installing Python using an installer or a source cose.
Download the latest version of Python from Python Org. Once you have download the installer as per the operating. Next run an installer by double-clicking on the downloaded file and follow the default steps with flag all options when installing.
After installation is completed, we will get a setup successfully install message.
Let's open the CMD line or terminal and type the below command to check the version of Python.
python -- version
Now, it is showing the lastest version of Python, which is the currently installed version of Python on our machine when writting this tutorial.