Difficulty: Lv ★★★ | Prerequisite: Intermediate Week 5-6 (Exceptions, JSON I/O)
Goal
Income/Expenditure Household ledger that stores data permanently in a JSON file
Requirements
- File:
ledger.json(data preserved after exit) - Commands:
add income|expense amount category memo,list,summary,del <number> - Totals and balances by category
- Handle invalid input with exceptions
Challenge Task
- Monthly summary (
2026-05filter) - Bar graph by category (
#) - Single-line command (
add expense 5000 food lunch)