Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- t=Turtle()
- colors = ["violet","indigo","blue","green","yellow","orange","red"]
- radius=10
- y=0
- while colors:
- a = colors.pop()
- t.color(a)
- t.circle(radius)
- radius += 10
- y -= 10
- t.penup()
- t.goto(0,y)
- t.pendown()
- done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement