Storing values in variables
A variable is a name that holds a value. beat = 3 stores 3 in beat, and anywhere you write beat, Python uses 3.
🔢 Math connection: kick(first + 4) is evaluating an expression: put in first = 1 and you get 5. RockBlocks Math: Grade 6 · Evaluating Expressions with Variables ↗
Challenge A:Make a variable called beat that holds 3, then play the snare on it: snare(beat).