Learn Python
Learn Python from the basics to real-world programming. Every lesson explains one idea in plain language, shows working code with its output, and ends with an exercise so you learn by doing.
Progress is saved in this browser. Accounts are coming later.
- Lessons available
- 60
- In the full course
- 60
- Beginner
Start from zero. No experience needed.
- Intermediate
Combine ideas to solve real problems.
- Advanced
The techniques used in professional work.
Course syllabus
All 60 lessons are available. Start anywhere, or follow the parts in order.
Part 1 · Beginner
Python Fundamentals
Install Python, write your first program, and learn how values and variables work.
Part 2 · Beginner
Control Flow
Make decisions with conditions and repeat work with loops.
Part 3 · Beginner
Python Data Structures
Store and organise many values with Python's built-in collections.
Part 4 · Beginner
Functions
Package code into reusable, named blocks.
Part 5 · Intermediate
Intermediate Python
Organise programs into modules, handle errors, and work with files and data formats.
Part 6 · Intermediate
Object-Oriented Programming
Model real things with classes and objects.
Part 7 · Advanced
Advanced Python
The features that make Python code concise, lazy, and reusable.
Part 8 · Intermediate
Practical Python
Use Python for real tasks: APIs, automation, scraping, and databases.
Part 9 · Intermediate
Python Interview Preparation
Common interview questions and coding challenges.
Keep going with Python
Become a Better Programmer
Get new tutorials, coding challenges, and cheat sheets.