Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python programing Write a program that draws a target, such as one that would be used in archery. Ask the user for input for the

python programing

Write a program that draws a target, such as one that would be used in archery. Ask the user for input for the location of the center of the target, as well as the diameter of the bullseye (center yellow) circle. Your target should have four circles, each one a different color. Make each larger circle have a radius that is larger than the next smallest circle by the amount of the radius of the bullseye. You can assume that the user will only enter valid non-negative numbers.

image text in transcribed

Use augmented operators in your program to modify variables xPos, yPos, and radius. To move the turtle to a new position you may only use the following line of code:

turtle.goto(xPos, yPos)

To draw a circle you may only use the following line of code:

turtle.circle(radius)

Rubric

10 pts: User is prompted for input and can enter values properly

10 pts: Target is centered on point given

10 pts: Each circle is the proper size

10 pts: Augmented operators used properly (should use many times!) and only the given functions above should be used to move and draw.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Approaches to Managing Organizations

Answered: 1 week ago

Question

Communicating Organizational Culture

Answered: 1 week ago