1. Letters Count

len(), .count() and .find() on text

Text has its own tools: len(word) counts its letters, word.count("l") counts one letter, and word.find("x") tells you where the first one is (or -1 if it's missing).

Lesson 1: every "g" in a word becomes a kick.

pattern = "go..go.."
for i, ch in enumerate(pattern):
    if ch == "g":
        kick(i + 1)
The beat it plays
kick
1234
5678
…and in RockBlocks
Bass Drum
🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:word = "boom". Play the kick on beat len(word).

Goal
kick
1234