Commit 206f8450 by BellCodeEditor

save project

parent ea6293c8
Showing with 4 additions and 3 deletions
...@@ -7,11 +7,12 @@ import turtle ...@@ -7,11 +7,12 @@ import turtle
pen = turtle.Pen() pen = turtle.Pen()
distance=1 distance=1
screen = turtle.Screen() Screen=turtle.Screen()
screen.bgcolor("light pink") screen.bgcolor("black")
colors=["white","blue","violet","cyan"] colors=["red","orange","yellow","green"]
# 请创造师在下面接着创作 # 请创造师在下面接着创作
for i in range(1,300): for i in range(1,300):
pen.pencolor(colors[i%4])
Pen.forward(distance) Pen.forward(distance)
distance+=1 distance+=1
Pen.right(91) Pen.right(91)
......
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