python turtle design 7

Published: 07 October 2022
on channel: Debojeet Bhowmick
149
14

from turtle import *
from time import sleep

bgcolor('black')
t = [Turtle(), Turtle()]
x = 6
colors = ["red","yellow","cyan","lime"]
for index, i in enumerate(t):
i.speed(0)
i.color('white')
i.shape('circle')
i.shapesize(0.3)
i.width(3)
i.pu()
i.seth(90)
i.fd(350)
i.seth(-180)
i.pd()
t[0].pu()

delay(0)
speed(0)
ht()
sleep(4)
for i in colors:
color(i)
for i in range(360):
t[0].fd(x)
t[0].lt(1)
pu()
goto(t[0].pos())
pd()
t[1].fd(2 * x)
t[1].lt(2)
goto(t[1].pos())
done()


On this page of the site you can watch the video online python turtle design 7 with a duration of hours minute second in good quality, which was uploaded by the user Debojeet Bhowmick 07 October 2022, share the link with friends and acquaintances, this video has already been watched 149 times on youtube and it was liked by 14 viewers. Enjoy your viewing!