Introduction

Python is a very simple programming language which has a very straightforward syntax. Python have two major versions Python 2 and Python 3.

Installation

In this section, I will show you how to install Python in your local machine.

Installation on MacOS

  1. Download the latest version of Python.

  2. Run the installer file and follow the steps to install Python During the install process, check Add Python to environment variables. This will add Python to environment variables, and you can run Python from any part of the computer.

Also, you can choose the path where Python is installed.

Basic Syntex