The exercise requires an action to happen when the user interacts with the canvas. In CMU CS Academy, the onMousePress function is a built-in "event listener" that automatically runs whenever the mouse button is clicked. 2. Capture Coordinates
A: The auto-grader expects nested loops. Manual lists won’t pass because the test cases call the function with arbitrary row/column arguments. 6.3.5 Cmu Cs Academy