Python Craft Ladder
P4.python-craft.01 · Audience: Guest, IT/ML learner, Language professional
P4.python-craft.01 · Audience: Guest, IT/ML learner, Language professional
Reading Python, and even understanding it, is not the same skill as writing it — that skill only forms when you produce code yourself and something honest checks the result. This module is the platform's first graded practice: you write Python right here in the browser, run it, and have it tested, and because everything runs in Pyodide, a full Python compiled to WebAssembly, your code never leaves your machine. Each exercise is a three-panel workspace with instructions on the left, a code editor in the middle, and output plus test results on the right, where Run checks the visible tests you can read, Submit also grades a set of hidden edge cases so that hard-coding the shown answers cannot pass, and the reference solution unlocks once you succeed. Work down the ladder: each rung is a small, self-contained piece of Python craft with no data files to load.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Loading exercise…
Loading exercise…
Loading exercise…
Loading exercise…
Loading exercise…
Loading exercise…
A scratch console for this page's ideas — ungraded, nothing you run here is recorded.
Scratch console
A scratch console with the scientific stack (pandas, numpy, scikit-learn). Runs on the server — no network, resource-limited and measured.
Output appears here.
Loading your notes...