8. Function Bugs

print vs return, unused inputs, forgotten calls

Function bugs: printing instead of returning, ignoring an input, a default that's out of range, or defining a function and never calling it.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:double(2) should give back 4, so the kick plays on beat 4. But double only prints.

Goal
kick
1234