8. Checking Text

.startswith(), .endswith(), .isdigit() and in

Text can answer questions: does it start with "boom"? End with "p"? Is this character a digit? Is "fill" in it? Each answer is True or False.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:If "boom bap".startswith("boom"), play the kick on 1. Play the snare on 3 either way.

Goal
snare
kick
1234