Commit 410b0369 by BellCodeEditor

save project

parent a0cc46ec
Showing with 3 additions and 1 deletions
...@@ -7,7 +7,9 @@ import turtle ...@@ -7,7 +7,9 @@ import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
d=1 d=1
for i in range(1,300): for i in range(1,3000000):
colors=["red","orange","yellow","green"]
pen.pencolor(color[i%300])
pen.shape("turtle") pen.shape("turtle")
pen.fillcolor("green") pen.fillcolor("green")
pen.forward(d) pen.forward(d)
......
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