9.1.7 Checkerboard V2 Answers [better] Online
This ensures that no two adjacent squares (horizontal or vertical) have the same value. Common Pitfalls
: Many students try to print the pattern using a string like "0 1 0 1" . However, the CodeHS autograder often checks if you actually modified the list values. 9.1.7 checkerboard v2 answers
: In Python, improper indentation of your nested loops will cause a SyntaxError or logic failure. Ensure your if statement is inside the second loop. This ensures that no two adjacent squares (horizontal