Question
this exercise please
3. Dot grids . Write a function dot grid(n, length) that draws a grid of dots in red and black as shown below You will need decompose the solution into simpler steps and write additional helper functions as needed . Write a function cdot_grid(n, length, colors) that draws a grid of dots with colors randomly drawn from a list of given colors. (If the function above was designed properly, then the change to the multi-color version should be minimal and isolated from the logic of drawing a grid of dots.)
Explanation / Answer
def print_board(board):