Practice
// Coding exercises
120
// Topic modules
12
// Coding practice
Sign in
Coding drills and labs need a free ID, which also stores passes, attempts, XP and your place across devices. Lessons, examples and the playground stay open without one.
Start writing and running clear Python programs with confidence.
Master Python operators, user input, smart decision branching, and powerful loops.
Master sequences, slicing, strings, list algorithms, and powerful comprehensions.
Map key-value relationships, model unique collections, and apply fast set algebra.
Organize reusable code with parameters, return values, recursion, variable arguments, and introspection.
Harness lambdas, higher-order functions, modular architecture, decorators, and generator expressions.
Read and write files, manipulate modern paths with pathlib, and parse CSV and JSON data.
Handle runtime exceptions gracefully, craft custom error types, write defensive code, and match patterns.
Model real-world systems using classes, constructors, methods, inheritance, properties, and dunder protocols.
Build memory-efficient iterators, custom context managers, and type-annotated code.
Solve practical problems using regex patterns, dates and times, randomness, and statistics.
Build complete, real-world Python applications end-to-end with clear architectural milestones.