Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi, please add the following to my Turtle python program (program will be at the

ID: 3876054 • Letter: H

Question

Hi, please add the following to my Turtle python program (program will be at the bottom) :

Olympic Flag will appear at the top of Turtle screen – must have a white background and the 5 colour rings that appear on the flag

-5 turtles racing with each turtle a colour of one of the rings of the Olympic Flag

-Your race will be random generated so each time there is a possibility that a different turtle will win

-Have all turtles start on a starting line and cross a finish line

-Have a countdown of “READY” “SET” “GO” appear on the screen and then the turtles take off

-Have the program tell the user which turtle won the race or if it was a tie.

-Keep track of how many times each turtle won the race, tie counts as a win.

-Keep track of how many times the user guessed right.

-Allow the user to continue to do the race over and over again until they do not want to do it anymore

-When the user choose to exit - Display a new screen and tell them how many times each turtle won a race and how many times they guessed right

-Make sure you have a information screen for user explaining the Game.

-Make your program screens look nice.

Add any other features you would like, possibilities: (Each point is seperate)(Doesn't really matter for me)

-A menu

-Change the program so you keep track of ties separately and display number of ties that occurred by each turtle. Do not include ties in user’s guessing total but have them as a separate user total. Display tie information to user.

-Have the user bet money - like at the horse races. Start off with an amount of money and keeps playing until they want to stop or money runs out.

#!/bin/python3

from turtle import *

from random import randint

speed(0)

penup()

goto(-140, 140)

for step in range(15):

   write(step, align='center')

right(90)

for num in range(8):

   penup()

forward(10)

pendown()

forward(10)

penup()

backward(160)

left(90)

forward(20)

ada = Turtle()

ada.color('red')

ada.shape('turtle')

ada.penup()

ada.goto(-160, 100)

ada.pendown()

for turn in range(10):

   ada.right(36)

bob = Turtle()

bob.color('blue')

bob.shape('turtle')

bob.penup()

bob.goto(-160, 70)

bob.pendown()

for turn in range(72):

   bob.left(5)

ivy = Turtle()

ivy.shape('turtle')

ivy.color('green')

ivy.penup()

ivy.goto(-160, 40)

ivy.pendown()

for turn in range(60):

   ivy.right(6)

jim = Turtle()

jim.shape('turtle')

jim.color('orange')

jim.penup()

jim.goto(-160, 10)

jim.pendown()

for turn in range(30):

   jim.left(12)

for turn in range(100):

   ada.forward(randint(1, 5))

bob.forward(randint(1, 5))

ivy.forward(randint(1, 5))

jim.forward(randint(1, 5))


Explanation / Answer


import time
wn=turtle.Screen()


black = turtle.Turtle()
black.speed(99999999999999999999999)
black.pensize(11)
black.color("butts")
black.circle(50)

red = turtle.Turtle()
red.speed(99999999999999999999999)
red.pensize(11)
red.color("red")
red.penup()
red.forward(128)
red.pendown()
red.circle(50)

b = turtle.Turtle()
b.speed(999999999999999999)
b.pensize(11)
b.color("blue")
b.penup()
b.backward(128)
b.pendown()
b.circle(50)

g = turtle.Turtle()
g.speed(99999999999999999999999999999999999)
g.pensize(11)
g.color("green")
g.penup()
g.forward(14)
g.right(90)
g.pendown()
g.circle(50)

y = turtle.Turtle()
y.speed(9999999999999999999999999999999999)
y.pensize(11)
y.color("yellow")
y.penup()
y.backward(114)
y.right(90)
y.pendown()
y.circle(50)

time.sleep(.5)
print "Yay!"

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote