4. Build a Grid

Making grids with loops

Build an empty grid with a loop — grid.append([0] * 8) once per row — then fill it in with rules instead of typing every cell.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:Make grid = [], append [0] * 4 twice, set grid[0][0] = 1 and grid[1][2] = 1, then play with drums = [kick, snare].

Goal
snare
kick
1234