Commit 70d15ea1 by BellCodeEditor

save project

parent 9c5925c3
Showing with 8 additions and 4 deletions
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 color=["red","yellow","green","orang"]
distance=1 s =turtle.Screen()
for i in range(100000000000000000000000): for i in range(100000000000000000000000):
pen.forward(distance) s.bgcolor("black")
distance+=1 pen.pencolor(color[1%4])
pen.forward(i)
pen.right(91) pen.right(91)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
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