Commit 6539dc20 by BellCodeEditor

save project

parent 268bd588
Showing with 3 additions and 4 deletions
...@@ -8,12 +8,11 @@ pen = turtle.Pen() ...@@ -8,12 +8,11 @@ pen = turtle.Pen()
screen = turtle.Screen() screen = turtle.Screen()
color = ["red","orange","yellow","green"] color = ["red","orange","yellow","green"]
screen.bgcolor("black") screen.bgcolor("black")
for i in range(1,30000): for i in range(30000):
pen.pencolor(color[1&4]) pen.pencolor(color[i%4])
pen.speed() pen.speed(1000)
pen.right(91) pen.right(91)
pen.forward(i) pen.forward(i)
nitama += 1
pen.hideturtle() pen.hideturtle()
turtle.done() 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