Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
282 B
2
Indexable
Never
import turtle
t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor("black")
t.speed(0)
col=("white", "red", "pink", "cyan", "blue", "light green")

for i in range(400):
    t.pencolor(col[i%6])
    t.circle(190-i/2,90)
    t.lt(90)
    t.circle(190-i/3,90)
    t.lt(60)
s.exitonclick()
Leave a Comment