Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Save your program in a file called task2.py. Write a program that draws a target, such as one that would be used in archery. Ask

image text in transcribed

Save your program in a file called task2.py. 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. Use augmented operators in your program to modify variables xPos, y Pos, 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)

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

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions

Question

What is the cause of an unfavorable volume variance?

Answered: 1 week ago