Function parameters
Your functions can take inputs too, just like kick(1). def hit(b): means hit takes one input, and inside the function it's called b.
🔢 Math connection: In rock(start), start is the independent variable: the beats it plays depend on it. RockBlocks Math: Grade 6 · Independent and Dependent Variables ↗
Challenge A:Make def hit(b): that plays the kick on b. Then call hit(1) and hit(5).