Commit 4ed5e008 by BellCodeEditor

auto save

parent 09087db4
Showing with 19 additions and 14 deletions
import turtle
pen=turtle.Pen()
pen.speed(0)
screen=turtle.Screen()
screen.bgcolor("black")
p=["purple","blue","red","green","gray","yellow","pink","white"]
i=0
while i<135:
pen.pencolor(p[i%8])
pen.penup()
pen.goto(0,0)
pen.forward(200)
pen.pendown()
pen.circle(100)
pen.left(2)
i+=1
pen. pencolor("red")
pen.pensize(1)
pen.forward(100)
pen.left(90)
pen.forward(70)
pen.left(90)
pen.forward(100)
pen.left(90)
pen.forward(70)
pen.left(90)
pen.circle(10)
pen.circle(10)
pen.circle(10)
pen.goto(70,100)
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment