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.
Challenge A:Make grid = [], append [0] * 4 twice, set grid[0][0] = 1 and grid[1][2] = 1, then play with drums = [kick, snare].