The secret to a checkerboard is simple math. To determine if a cell should be "colored" or "empty," you look at its row and column indices:
: The "v1" version of this exercise typically requires placing pieces (represented by 1s) in the top three rows and the bottom three rows. 9.1.6 checkerboard v1 codehs