Commit 2d89f832 by BellCodeEditor

save project

parent 6e3eef7d
Showing with 4 additions and 5 deletions
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
""" """
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 x=["red","green","yellow","blue"]
pen.speed(1000) pen.speed(100)
for i in range(1,100000000): for i in range(1000000000):
pen.color(x[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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