Computer Science, asked by aahankumar5831, 4 days ago

Write a Python program importing Turtle module, and then drawing the Olympics Logo with background #4885ED


Answers

Answered by abhishek82116
1

Answer

The Olympic rings are five interlaced rings, colored blue, yellow, black, green, and red on a white field. As shown in the below image.

Explanation:

import turtle

# object tr for turtle

tr = turtle.Turtle()

# set thikness for each ring

tr.pensize(5)

tr.color("blue")

tr.penup()

tr.goto(-110, -25)

tr.pendown()

tr.circle(45)

tr.color("black")

tr.penup()

tr.goto(0, -25)

tr.pendown()

tr.circle(45)

tr.color("red")

tr.penup()

tr.goto(110, -25)

tr.pendown()

tr.circle(45)

tr.color("yellow")

tr.penup()

tr.goto(-55, -75)

tr.pendown()

tr.circle(45)

tr.color("green")

tr.penup()

tr.goto(55, -75)

tr.pendown()

tr.circle(45)

Similar questions