Commit 31fe1877 by BellCodeEditor

save project

parent 3cdf12d5
Showing with 4 additions and 3 deletions
......@@ -7,14 +7,15 @@ import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.
screen.bgcolor('black')
colors=["white","blue","violet","cyan"]
pen.speed(0)
# 请创造师在下面接着创作
distance=1
for i in range(300):
pen.fd(distance)
pen.pencolor(colors[i%4])
pen.fd(i)
pen.right(91)
distance+=1
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