Putting it all together
A function can take another function as an input. Pass kick itself (no parentheses) and your function can play whichever drum you hand it.
Challenge A:Make def play(drum, pattern): that loops over the pattern and calls drum(i + 1) wherever there's an "x". Then call play(kick, "x...x...").