Commit 7cb31fe5 by BellCodeEditor

save project

parent e114f007
Showing with 5 additions and 4 deletions
......@@ -6,11 +6,11 @@ import turtle
pen = turtle.Pen()
# 请创造师在下面接着创作
coiors=["red","blue","yellow",]
for i in range(0,300):
colors=["red","blue","grey","purple","green","brown"]
for i in range(0,10000):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(181)
pen.pencolor(colors[i%6])
pen.right(120)
# 隐藏画笔,保存画布
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