01 Your task
Review expenses
Print each expense category and amount.
Loop through the list of expense dictionaries.
Ask Sloby for a hint or check whether your current code meets this step goal.
Step 1 of 4
Build a small program that organizes expenses, calculates totals, and creates a JSON report.
Print each expense category and amount.
Loop through the list of expense dictionaries.
Ask Sloby for a hint or check whether your current code meets this step goal.
Your code stays in this browser tab while you move between challenge steps.
The browser runtime is loading. You can still edit the example code.
Pyodide runs Python in a browser Web Worker. It is stopped and restarted if code keeps running. Browser execution is not a complete security boundary; do not enter secrets or rely on it for untrusted code isolation.

Sloby AI Mentor
Sloby guides your reasoning and never changes your code.