Commit 6a8b399c by BellCodeEditor

save project

parent 09da1206
Showing with 3 additions and 3 deletions
......@@ -8,13 +8,13 @@ import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("black")
colors=["white","blue","violet","cyan","skyblue","yellow"]
colors=["white","blue","violet","cyan","skyblue","yellow","orange","red"]
# 请创造师在下面接着创作
pen.speed(1000)
for i in range(1,300):
pen.pencolor(colors[i%6])
pen.pencolor(colors[i%8])
pen.forward(i)
pen.right(61)
pen.right(46)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
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