9. Make Your Own Commands

Defining functions

def makes your own function — a new command built out of other commands. Write it once, then call it by name whenever you want it.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:Make def backbeat(): that plays the snare on 2 and 4 — then call backbeat() to hear it.

Goal
snare
1234