Description
Coding
Python: beginner to advanced
Learn Python through 40 progressive lessons from first steps to reusable programs, structured data, robust error handling, and efficient algorithms. Each lesson includes examples, practice questions, and a runnable coding task.
Design reusable objects, lazy pipelines, typed interfaces, and efficient solutions.
- 1
Classes and instances
Model related data and behavior with a small class.
13 min
- 2
Composition
Build larger objects from smaller objects with clear responsibilities.
13 min
- 3
Data classes
Define readable data-focused classes with generated methods.
12 min
- 4
Generators
Produce values lazily with yield and consume them as needed.
13 min
- 5
Decorators
Wrap a function to add behavior without changing its body.
14 min
- 6
Context managers
Set up and clean up resources reliably with with.
14 min
- 7
Type hints and protocols
Describe interfaces that different objects can satisfy.
14 min
- 8
Recursion and caching
Solve self-similar problems and reuse calculated results.
15 min
- 9
Efficient search
Use data shape and algorithm choice to avoid unnecessary work.
15 min
- 10
Project: event pipeline
Combine validation, generators, data classes, and aggregation.
18 min