1. Typos

Reading an error message

Most bugs are tiny: a misspelled name or a missing bracket. Run the code, read the error — it tells you the line and often the fix — then correct it.

Lesson 2: fix an else in the wrong place.

for b in range(1, 9):
    if b % 2 == 0:
        snare(b)
    else:
        kick(b)
The beat it plays
snare
kick
1234
5678
…and in RockBlocks
Snare Drum
Bass Drum
🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:This should play the kick on 1 and 3, but there's a typo. Run it, read the error, and fix it.

Goal
kick
1234