Commit d3191916 by BellCodeEditor

save project

parent 63df1f3c
Showing with 13 additions and 7 deletions
......@@ -19,3 +19,4 @@ for i in range(1,300):
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
import turtle
import turtle
import turtle
pen=turtle.Pen()
d=1
for i in range(10000000):
pen.forward(d)
pen.left(91)
d=d+1
pen=turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light pink")
colors=["white","blue","violet","cyan"]
distance=1
pen.speed(1000)
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
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