5. Lists

Lists

A list holds many values in order, inside square brackets: [2, 4]. Hand a drum a list and it plays every beat in it.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:Play the snare on beats 2 and 4 in one line, with a list: snare([2, 4]).

Goal
snare
1234