9.1.6 Checkerboard V1 Codehs ((hot))

for these requirements, or are you looking for the logic behind Checkerboard v2

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: 9.1.6 checkerboard v1 codehs

Output: