Commit b117269c by BellCodeEditor

save project

parent 0b0dca19
Showing with 3 additions and 1 deletions
...@@ -5,8 +5,10 @@ ...@@ -5,8 +5,10 @@
import turtle import turtle
a=1 a=1
pen = turtle.Pen() pen = turtle.Pen()
colors=["red","green","blue"]
# 请创造师在下面接着创作 # 请创造师在下面接着创作
for i in range(1,300) for i in range(1,300):
pen.pencolor(colors[i%3])
pen.forward(a) pen.forward(a)
pen.right(91) pen.right(91)
a=a+1 a=a+1
......
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