BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 1: Python Programming/Dictionaries2/3
Exercise·5 min·10 XP

Merge Vote Counts

Write merge_counts(a, b) that takes two dicts of name → count and returns a new dict where each name's count is the sum across both inputs.

Previous
Remove Duplicates (Preserve Order)
Next
Key With Highest Value