Commit ebbbfd9f by BellCodeEditor

save project

parent 71dff18f
Showing with 4 additions and 1 deletions
......@@ -7,10 +7,12 @@ import turtle
pen = turtle.Pen()
# 请创造师在下面接着创作
W=1
color = ["green","red","orange","yellow"]
pen.speed(0)
for i in range(300):
pen.color(color[i%4])
pen.forward(W)
W+=1
pen.right(51)
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