Question
I have a homework problem where I need to create a 15x15 grid of black-filled Circles in a graphics window in python. Stores the black
I have a homework problem where I need to create a 15x15 grid of black-filled Circles in a graphics window in python.
Stores the black Circles as elements in a List
Create a List assigning each Circle a fill color that will be revealed after the Circle is clicked
One Circle at random is assigned gold fill color
Assign tan fill color to Circles next to the gold Circle
Assign grey fill color If they are two away from the gold Circle
Assign a white fill color to Circles that are more than two away from the gold Circle
Return the Lists containing the Circles and color assignments
I really need help with this code for this part. Please make sure you show it in Python, thank you.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started