// Create a new GRect (square) GRect square = new GRect(x, y, SQUARE_SIZE, SQUARE_SIZE); square.setFilled(true);
: 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
def print_board(self): for row in self.board: for cell in row: if cell is None: print('-', end=' ') else: print(cell.color[0].upper(), end=' ') print() // Create a new GRect (square) GRect square
