Commit 406604da by BellCodeEditor

auto save

parent 1bad0edb
Showing with 9 additions and 5 deletions
...@@ -3,13 +3,16 @@ import turtle ...@@ -3,13 +3,16 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
pen.speed() screen.bgcolor("light pink")
pen.hideturtle() colors=["white","blue","violet","cyan"]
screen.bgcolor('black') distance=1
pen.speed(1000)
i=0 i=0
while i<135: while i<135:
pen.pencolor('pink')
pen.pencolor(colors(i%4))
pen.penup() pen.penup()
pen.goto(0,0) pen.goto(0,0)
pen.forward(200) pen.forward(200)
...@@ -17,5 +20,5 @@ while i<135: ...@@ -17,5 +20,5 @@ while i<135:
pen.circle(100) pen.circle(100)
pen.left(2) pen.left(2)
i+=1 i+=1
pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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