#Python Program to draw Olympics logo

preview_player
Показать описание
How to draw Olympics logo in Python Turtle?

Olympics logo is made up of five interlaced rings having the following colors- blue, black, red, yellow and green. The basic logic of drawing it is using the proper combination of goto() and circle() function.

#Python Program to draw Olympics logo in Turtle Programming

import turtle

 

t = turtle.Turtle()

firstRowColors = ["blue", "black", "red"] #firstRowColors is a list of colors that are present in the first row of logo

for i in range(3):

 

secondRowColors = ["", "yellow", "", "green"]

for i in range(1, 4, 2):

Рекомендации по теме