Chapter 1: Python & Setup – Getting Started

1. What is Python?

Python is a simple, powerful, and popular programming language used for:

Why Python?

2. Installing Python

Step 1: Download Python

Visit python.org → Download the latest version (e.g., Python 3.12).

Step 2: Run the Installer

Step 3: Verify Installation

Open Command Prompt (Windows) / Terminal (Mac/Linux) and type:

python --version  # Should show Python 3.x

Exercise 1:

  1. Install Python on your computer.
  2. Verify the installation by running python --version.

5. Next Steps

✔ Python is installed!

✔ You ran your first program!

🚀 Next Chapter: Python Basics (Variables, Data Types).