Curriculum

All 21 Lessons

Each lesson includes a full explanation, code examples, a practice task, common mistakes, and a mini quiz.

01

Introduction to Python

Python — popular, readable, powerful. Used in data science, AI, and web development....

Lesson 1
02

Python Setup

Install Python, choose an editor, always use virtual environments....

Lesson 2
03

Python Syntax

Indentation, colons, f-strings — Python's core rules....

Lesson 3
04

Variables

Python variables need no type declaration....

Lesson 4
05

Data Types

int, float, str, bool, None — Python's core types....

Lesson 5
06

Operators

Python adds // floor division and ** power....

Lesson 6
07

Conditional Statements

if / elif / else — Python's clean conditional syntax....

Lesson 7
08

Loops

for iterates sequences; while iterates on a condition....

Lesson 8
09

Lists

Ordered, mutable, any types — Python's most versatile collection....

Lesson 9
10

Tuples

Immutable sequences — for data that should not change....

Lesson 10
11

Sets

Unordered unique collections — fast membership testing....

Lesson 11
12

Dictionaries

Key-value stores — Python's most important data structure after lists....

Lesson 12
13

Functions

def, default params, *args, **kwargs....

Lesson 13
14

Modules

Any .py file is a module. Import standard library or your own code....

Lesson 14
15

File Handling

open() with with statement — clean, safe file IO....

Lesson 15
16

Exception Handling

try/except/finally — Python's error handling....

Lesson 16
17

Object-Oriented Programming

class, __init__, self — Python OOP fundamentals....

Lesson 17
18

Properties and Class Methods

@property, @classmethod, @staticmethod....

Lesson 18
19

Inheritance

Python supports single and multiple inheritance; super() calls the parent....

Lesson 19
20

Working with Dates

datetime module — dates, times, durations....

Lesson 20
21

Basic Data Handling

CSV reading, statistics module, and introduction to pandas....

Lesson 21