8. Lists of Dictionaries

A list where every item is a dictionary

Each note can be its own little dictionary — {"drum": "kick", "beat": 1} — and a list of them is the whole song.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:notes = [{"drum": "kick", "beat": 1}, {"drum": "snare", "beat": 3}]. For n in notes: kit[n["drum"]](n["beat"]).

Goal
snare
kick
1234