Commit 845d5679 by BellCodeEditor

save project

parent 71920be1
Showing with 9 additions and 5 deletions
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 screen=turtle.Screen()
distance=1 screen.bgcolor("black")
while True: colore=["red","blue","green","yellow","orange"]
pen.forward(distance) i=0
distance+=1 # 请创造师在下面接着创
While True():
pen.pencolor(colore[i%5])
pen.forward(i)
i+=1
pen.right(70) pen.right(70)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() 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