Google Colaboratory (Colab) is a free, cloud-based environment to write and run Python code without installing anything.
It runs in your browser and saves your work automatically to Google Drive.
Especially useful for beginners and those using Chromebooks or shared computers.
Sign in with your Google account.
Click “New Notebook”.
Start coding! Try typing: print("Hello, World!")
Press Shift + Enter or click run button to run the code cell.
No installation needed.
Works on any device with a browser.
Easy file sharing and collaboration (just like Google Docs).
Visit the official website: https://www.python.org/downloads/
Choose the version for your operating system (Windows, macOS, or Linux).
❗ IMPORTANT: Check the box “Add Python to PATH” during installation on Windows.
Download and run the Python installer.
Make sure “Add Python to PATH” is checked.
Click Install Now and follow the prompts.
After installation:
Open Command Prompt (cmd).
Type: python --version
You should see something like Python 3.12.1.
Most macOS systems already have Python pre-installed (usually Python 2.x).
To check Python 3:
Open Terminal.
Type: python3 --version
If not installed, you can use Homebrew (a macOS package manager): brew install python3
Open your terminal and type:
sudo apt update
sudo apt install python3
2. After installation, check version: python3 --version