Question: by pyzo-python please 9. [harder] Write a function clickableBoxOf Eyes that takes two parameters rows and columns, and displays a rows columns grid of blue
![by pyzo-python please 9. [harder] Write a function clickableBoxOf Eyes that](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f5434a14acf_57766f5434962a16.jpg)
by pyzo-python please
9. [harder] Write a function clickableBoxOf Eyes that takes two parameters rows and columns, and displays a rows columns grid of blue eyes (all of radius 50) within a box the window. For each click of the mouse inside the box, the function should behave as follows: if the click is on an eye, the row and column of that eye should be displayed in the space below the box, for example as shown below given the click denoted by the dot (note that row and column numbers should begin at 1): ). There should be a border of size 50 between the box and the edge of Eye at row 2, column 3 If the user clicks within the box but not on an eye, the displayed message should be "Between eyes". The window should close when the user clicks outside the box 9. [harder] Write a function clickableBoxOf Eyes that takes two parameters rows and columns, and displays a rows columns grid of blue eyes (all of radius 50) within a box the window. For each click of the mouse inside the box, the function should behave as follows: if the click is on an eye, the row and column of that eye should be displayed in the space below the box, for example as shown below given the click denoted by the dot (note that row and column numbers should begin at 1): ). There should be a border of size 50 between the box and the edge of Eye at row 2, column 3 If the user clicks within the box but not on an eye, the displayed message should be "Between eyes". The window should close when the user clicks outside the box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
