Transaction Summarizer
Challenge on lesson: Checkpoint: Data Pipelines
CHALLENGE
Difficulty: intermediate+25 XP
Implement summarize(transactions) โ each item is a dict with 'category' and 'amount'. Return a list of (category, total) tuples counting ONLY positive amounts, sorted by total descending; ties broken alphabetically by category.
Press Submit to check your solution.
Back to lesson: Checkpoint: Data Pipelines