9.1.6 Checkerboard V1 Codehs ((new)) -
Write a program that draws a checkerboard pattern. Your program should create a canvas of 400x400 pixels. The checkerboard should have 8 rows and 8 columns of squares. Each square should be 50x50 pixels. Alternate the colors between black and gray (or red and black, depending on the version). The top-left square should be gray.
The prompt for this exercise typically reads something like this: 9.1.6 checkerboard v1 codehs