main 2

py

School

Montgomery County Community College *

*We aren’t endorsed by this school

Course

1022

Subject

Anthropology

Date

Oct 30, 2023

Type

py

Pages

2

Uploaded by UltraScienceGoldfish25

Report
import turtle as trtl wn = trtl.Screen() wn.screensize(canvwidth =.5,canvheight=.5) panel = trtl.Turtle() panel.pencolor("black") panel.goto(-180, 195) panel.pendown() panel.fillcolor("lightgrey") panel.begin_fill() panel.goto(-180,-135) panel.goto(20,-135) panel.goto(20,195) panel.goto(-180,195) panel.end_fill() panel.penup() panel.goto(30,195) panel.pendown() panel.fillcolor("lightgrey") panel.begin_fill() panel.goto(30, -135) panel.goto(165, -135) panel.goto(165, 195) panel.goto(30, 195) panel.end_fill() panel.hideturtle() #The bars on the rights bars = trtl.Turtle() bars.penup() bars.goto(40,160) bars.pendown() bars.fillcolor("black") bars.begin_fill() bars.goto(40, 135) bars.goto(155,135) bars.goto(155,160) bars.goto(40,160) bars.end_fill() bars.fillcolor("yellow") bars.pencolor("yellow") bars.begin_fill() bars.goto(40,135) bars.goto(55,135) bars.goto(55,160) bars.goto(40,160) bars.end_fill() bars.penup() bars.goto(40,50) bars.pendown() bars.pencolor("black") bars.fillcolor("black") bars.begin_fill() bars.goto(40,25) bars.goto(155,25) bars.goto(155,50)
bars.goto(40,50) bars.end_fill() bars.fillcolor("blue") bars.pencolor("blue") bars.begin_fill() bars.goto(40,25) bars.goto(50,25) bars.goto(50,55) bars.goto(40,50) bars.end_fill() bars.penup() bars.goto(40,-60) bars.pendown() bars.begin_fill() bars.goto(40,-85) bars.goto(155,-85) bars.goto(155,-60) bars.goto(40,-60) bars.end_fill() bars.penup() dial_list = [] dial_colors = ['gold', 'blue', 'cyan'] dialYLoc = 100 for c in dial_colors: dial = trtl.Turtle() dial_list.append(dial) dial = trtl.Turtle() dial.penup() dial.goto(-100, dialYLoc) dial.pendown() dial.pencolor(c) dial.pensize(5) dial.circle(35) dial.shape("square") dial.turtlesize(0.5) dial.color("gray") dialYLoc -= 100 wn = trtl.Screen() wn.mainloop()
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help

Browse Popular Homework Q&A

Q: To measure the amount of nickel in some industrial waste fluid, an analytical chemist adds 0.1900M…
Q: Sodium (Na): gray solid 370K mp shiny, malleable, ductile, and conducts electricity Draw and label…
Q: Difference between global and static variable?
Q: Overload the + operator as indicated. Sample output for the given program with inputs 7 3: First…
Q: Prove, by induction, that n - n is divisible by 3 for any natural number n.
Q: You have taken some medication and the doctor tells you that you will lose about 5% in your…
Q: What is promising and non promising node?
Q: Explain what are the data units at different layers of the TCP/IP protocol suite?
Q: Character Name: Where are they from? When were they alive? What were they known for?
Q: 2. Esters can be made by a condensation reaction between what two kinds of molecules? 3. What…
Q: Please make a game or software that uses gui, inheritance, arrays, 2D arrays, classes and methods.…
Q: Part A Why does Joshua Drake allow his children to work in textile factories? List at least two…
Q: True or False: Emily was a total recluse: she refused to see neighbors, friends, and family after…
Q: Difference between global and static variable?
Q: Without properly working spark plugs, a vehicle will not run. For a specific vehicle, the spark…
Q: There are five bands trying to be the closing band in a concert. They are all in the concert but…
Q: 15 10 Day Views 1 5 2 8 5 11 10 14 17 17 26 20 What type of graph would best fit the shape of the…
Q: In the past, the Federal Reserve (Fed) mandated that member commercial banks must hold a certain…
Q: What is ionization
Q: Please explain how you could determine whether a particular molecular compound was polar if you were…
Q: Step 5: Use the Molecular Shape table from your notes to draw the ball and stick representation S…
Q: J. D. Williams, Inc. is an investment advisory firm that manages more than $120 million in funds for…