Question: Python Use turtle graphics to draw an archery target like the one below (you may pick different colors if you wish, but the sizes and
Python
Use turtle graphics to draw an archery target like the one below (you may pick different colors if you wish, but the sizes and point values should be the same). Then prompt the user to select one option from a menu: fire one arrow, fire many arrows, reset the target, or quit. After each operation is finished (aside from quitting), return the user to the menu to select another option.
When the user chooses to fire one arrow, randomly generate a point from (-300, -300) to (300, 300), use a turtle to mark that point, and report how many points that arrow is worth.
When the user chooses to fire many arrows, prompt the user for a number of arrows and then fire that many (each one like above); report the total number of points earned and the average location of all the arrows.
When the user chooses to reset the target, simply redraw the target to remove any marks made by previous arrows.
When the user chooses to quit, thank the user for playing and end the program.
If the user makes a menu selection that is invalid, or if the user enters a number of arrows that is non-positive or not an integer, reprompt the user until a valid answer is given.
Color Radius Points
Yellow 50 50
Orange 125 30
Red 200 20
Grey 275 10
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
