Python: reliable collections and imports
Preserve order, navigate graphs, and validate complete imports before applying them.
Prerequisite: Python foundations · 85 minutes of guided study
3 published lessons, from first principles to a small project.
Start first lesson →What you’ll be able to do
- A failed batch should not leave half a result behind.
How to study this course
Follow the numbered modules. Read the example, explain why it works, attempt the exercise, then compare your result with the supplied checks.
Setup: A modern browser. JavaScript, TypeScript, Python and SQLite exercises run here; project workshops state their additional setup.
Times estimate guided reading and practice. Projects and revision can take longer.
Course syllabus · 3 lessons
Bridge · From syntax to engineering
- Remove duplicates while preserving order25 min · Browser exercise →
Use one structure for membership and another for output order.
- Find a shortest path through an unweighted graph25 min · Browser exercise →
Breadth-first search explores every closer node before farther nodes.
- Project · Validate an entire import before applying it35 min · Browser exercise →
A failed batch should not leave half a result behind.