Python Programming : A Classroom Approach.

1.1 Installing Python (latest version 3.x)

First things first, you’ll need to install Python on your computer. I recommend using the latest version 3.x, as it includes the most up-to-date features and improvements.

Windows:

       i.            Go to the official Python website: https://www.python.org/downloads/windows/

     ii.            Download the latest version of Python 3.x.

  iii.            Run the installer. Important: Make sure to check the box that says "Add Python to PATH" during the installation process. This will allow you to run Python from the command line/terminal.

 iv.            Follow the on-screen instructions to complete the installation.

macOS:

       i.            Go to the official Python website: https://www.python.org/downloads/macos/

     ii.            Download the latest version of Python 3.x.

  iii.            Run the installer and follow the on-screen instructions.

Linux:

       i.            Python is often pre-installed on Linux distributions. To check if Python 3 is already installed, open a terminal and type python3 –version.

     ii.            If Python 3 is not installed, you can install it using your distribution’s package manager. For example, on Debian/Ubuntu, you can use the command sudo apt update && sudo apt install python3.