Codehs - 9.1.6 Checkerboard V1
9.1.6 Checkerboard
It looks like you are working on the assignment in the CodeHS Graphics course. In this assignment, you are typically asked to write a function called create_checkerboard that draws an 8x8 grid of alternating black and white squares.
Understanding the Problem
Example (pseudocode):
For further help with 2D lists, check out official resources like the CodeHS Python 3 Course Explore Page or community discussions on Reddit's r/codehs Checkerboard v2 9.1.6 checkerboard v1 codehs
Once you have mastered 9.1.6 Checkerboard v1 , challenge yourself with these modifications: Square (0, 0): $0 + 0 = 0$
- Square (0, 0): $0 + 0 = 0$ (Even) $\rightarrow$ Black
- Square (0, 1): $0 + 1 = 1$ (Odd) $\rightarrow$ White
- Square (1, 0): $1 + 0 = 1$ (Odd) $\rightarrow$ White
- Square (1, 1): $1 + 1 = 2$ (Even) $\rightarrow$ Black