My Favorite Program: Cody the Turtle has returned to his old town on the beach, where the Winter Olympic Games are being hosted once again. Let's help Cody draw circles for the Olympic Rings, and rebuild the sign for the event, this time with color.
Welcome to Join Us!
""" ***TASK: Code Cody to draw the Olympic rings. Cody needs to draw five equal sized circles overlapping each other. The circles must be colored blue, black, red, yellow, and green. For example, take a look at the task picture or a picture of the Olympic Rings on Google. ***Extra lines on the rings are NOT okay. ***The size of the Rings does not matter. ***The thickness of the rings DOES matter, so be sure to increase Cody's pen width. ***Your code to draw the Rings does not matter, as long as you draw a drawing similar to the Olympic Rings. Hit Run. You should have moved Cody to draw the Olympic rings on the screen. Congrats! You have helped Cody draw circles for the Olympic Rings, and rebuilt the sign for the event, this time with color. """ import turtle import time wn=turtle.Screen() black = turtle.Turtle() black.speed(99999999999999999999999) black.pensize(11) black.color("black") 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) print ("Yay!") #Extra lines on the rings are NOT okay. #The size of the Rings does not matter. #The thickness of the rings DOES matter, so be sure to increase Cody's pen width.