Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Essentially I need you to use python to produce something that looks exactly like the target picture in the photo where it shows the target

Essentially I need you to use python to produce something that looks exactly like the target picture in the photo where it shows the target where the arrows hit and the arrow # on the side and total score on the other side. Refrence the photos I uploaded for what to do. Thanks!
Write a program to be en archery scorer (see problem 16 on page 196). Your program should be fully graphical and include appropriate prompts for the user. The image below shows how it might look after 3 shots.
16. Archery Soorer. Write a program that drawa an archisry target (ase Programming Exercise 2 from Chapter 4) and allows the user to click five times to represent arrows ahot at the target. Using fiveband scoring, a hulls-eyve (yellow) is worth 9 points and each auccessive ring lia worth 2 fewar points down to 1 for white. The program should output a score for each click and keep track of a running sum for the entire series.
Exercise 2 from chapter 14 :
fromgraphics import *
def maingl:
win = GrephW(ic ("Target"400,400)
Widsatithckapound ( Black")
whartCeerd: (-6,-6,6,5)
Shape = Girmle (Paint (0,0),5
stupedrewarin)
shepestetFIU("white")
shape 2= Circle ?()( Point (0,0),4
shape2 draw(win)
shape2,setFil("black")
shape3= Eirrta( Point (0,0),3
shape3.draw(win)
shape3.setFily"blue")
shape 4= Circle(point (0,0),2
shape4 draw(win)
shape4, setFily"red")
shape 5= Circla Point (0,0).1)
shape5.draw(win)
shape5.setFill"yellow")
main()
image text in transcribed

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions