Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone help me, i need to - add a few clouds (oval, 3-4) - use for loop to animate the ice and the clouds

can someone help me, i need to
- add a few clouds (oval, 3-4)
- use for loop to animate the ice and the clouds so they move left and right
- ask a question to the user on shell using if/elif/else
i.e.
answer = input("what colour do you want the ship to be? enter red or blue")
it should decide the colour of the ship^^
ALL USING GRAPHICS.PY & PYTHON
image text in transcribed
- January 27, 2022 Tron graphics import. wint - Graphwin Frane 1. 1810, 700) winl.setBackground color_rgb(135, 286, 235) rect Rectangle(Point(210, 165), Point(300, 500) rect.setOutline(color_rgb(210, 43, 43) rect. setFill(color_rgb(212, 43, 43) rect.drawiwini) pti - Point (500, 270) pt2 = Point(150, 270) pt3 = Point(300, 500) poly - Polygonipt. pt2. pt3) poly. setFilticolor_rgb(210, 43, 43)) poly.setOutline(color_rgb(210, 43, 43)) poly.draw(win) rect - Rectangle(Point(1e1e, 350), Point(0, 1010) rect.setOutline(color_rgb(182, 210, 226) rect. setFill(color_rgb(182, 211, 227)) rect.draw(win) pti - Point (700, 358) pt2 - Point (1020, 350) pt3 - Point (900, 0) poly - Polygon(pti, pt2, pt3) poly.setFitticolor_rgb(255, 255, 255)) poly.setOutline(color_rgb(255, 255, 255)) poly.draw(wini) pti - Point (650, 350) pt2 = Point(900, 350) pt3 - Point (790, se poly - Polygon (pt1, pt2, pt3) poly. setFill(color_rgb(255, 255, 255)) poly.setOutline(color_rgb(255, 255, 255)) poly.draw wini) pti - Point(500, 350) pt2 = Point (800, 350) pt3 = Point(650, 111) poly = Polygon (pti, pt2, pt3) poly. setFili color_rgb(255, 255, 255)) poly.setOutline(color_rgb(255, 255, 255)) poly.draw(wini) pt = Point(Bee, 500) cir = Circle Ipt, 130) cir.setFilli color_rgb(255, 255, 255) cir.setOutline(color_rgb(255, 255, 255) cir.draw(win) pt = Point(120, 700) cir Circlefpt, 340) cir.setFill(color_rgb(255, 255, 255)) cir.setOutline(color_rgb(255, 255, 2551) cir.drawiwini) ing - Inage(Point (560, 268), "Remove background 4.png" img.draw(win) wint.getMouse) wini.close()

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 Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions

Question

Determine weather convergent or divergent

Answered: 1 week ago