Python
Explain how Python works, from mutability and closures to generators, packaging and async.
- 7 challenges
Core Types
Lists, tuples, dictionaries and sets, and the mutability rules that cause most Python surprises.
- 7 challenges
Functions and Closures
Arguments, comprehensions, scope, closures and decorators: writing Python functions well.
- 7 challenges
Classes and Objects
Python's object model: classes, dataclasses, special methods, properties and inheritance.
- 6 challenges
Iterators and Generators
How Python loops really work, lazy generators, and context managers for clean set-up and tidy-up.
- 7 challenges
Errors and Tooling
Exceptions, virtual environments, packaging, type hints and tests: the everyday Python toolkit.
- 5 challenges
Concurrency and Async
Threads, processes and asyncio in Python, and how the global interpreter lock shapes the choice.