Question
1. (8 points) Problem 1 gives you practice creating and manipulating graphical objects. a. (5 points) Write a program target1.py as described in Programming Exercise
1. (8 points) Problem 1 gives you practice creating and manipulating graphical objects. a. (5 points) Write a program target1.py as described in Programming Exercise 2 on page 118 of the textbook. b. (3 point) Modify your program from part (a) above to make it interactive. Allow the user to specify the diameter of the outermost circle of the target. You may get this value from the user in a similar manner as the principal and apr were obtained in the futval_graph2.py program on page 101 of the textbook. You will need to have the graphics window adjust its size to accommodate the archery target that will be created within it. Save your new program as target2.py. Hint: You will ask the user for the diameter of the archery target. How is this related to the radius of the inner circle? The larger circles radii can be expressed as multiples of this value. Submit your responses to Problem 1 as .py files.
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