Commit 72acf455 by BellCodeEditor

save project

parent 406604da
Showing with 6 additions and 5 deletions
...@@ -3,16 +3,17 @@ import turtle ...@@ -3,16 +3,17 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light pink") screen.bgcolor("pink")
colors=["white","blue","violet","cyan"] colors=["white","blue","violet","cyan","green"]
distance=1 distance=1
pen.speed(1000) pen.speed(1000000)
i=0 i=0
while i<135: while i<180:
pen.pencolor(colors(i%4)) pen.pencolor(colors[i%5])
pen.penup() pen.penup()
pen.goto(0,0) pen.goto(0,0)
pen.forward(200) pen.forward(200)
......
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