Python

15 lessons — from the very basics to pro-level patterns.

Basics
1. Variables & Data Types
Numbers, text, true/false — the building blocks
Beginner
2. Operators & Expressions
Math, comparisons, and logic in one place
Beginner
3. Strings & Formatting
Slice, format, and play with text
Beginner
4. Conditionals
Make your code choose — if this, do that
Beginner
5. Loops
Repeat stuff without repeating yourself
Beginner
Collections
6. Lists & Tuples
Ordered collections you can grow, shrink, and slice
Easy
7. Dictionaries & Sets
Look things up by name instead of by number
Easy
Functions
8. Functions
Package your code so you can reuse it
Easy
9. Comprehensions
Build lists, dicts, and sets in a single line
Easy
Intermediate
10. File I/O
Read and write files like a pro
Medium
11. Error Handling
Catch mistakes before they crash your program
Medium
12. Classes & OOP
Create your own types with data and behavior
Medium
13. Modules & Imports
Organize code into reusable pieces
Medium
Advanced
14. Lambda, Map & Filter
Tiny functions that do big things
Hard
15. Decorators & Closures
Wrap functions to add superpowers
Hard