Skip to main content

Practice ยท 2 of 3

Acceptance: category_report

Contract: category_report(expenses) returns dict category -> total spent, rounded to 2 decimals. Empty list -> {}.

Difficulty: beginner

Back to lesson: Practice: Capstone: Core Contract