Commit 9804b28b by BellCodeEditor

save project

parent 506299d1
Showing with 2 additions and 2 deletions
......@@ -7,11 +7,11 @@ import turtle
pen = turtle.Pen()
color=["green","red","orange","yellow"]
screen=turtle.Screen()
screen.bgcolor()
screen.bgcolor("black")
# 请创造师在下面接着创
for i in range(1,300):
pen.forward(i)
pen.color()
pen.pencolor(color[i%4])
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
......
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