Commit f7ba4c75 by BellCodeEditor

save project

parent 60f31548
Showing with 5 additions and 2 deletions
......@@ -4,12 +4,14 @@
"""
import turtle
pen = turtle.Pen()
# 请创造师在下面接着创作
screen.bgcolor("black")# 请创造师在下面接着创作
coo=["orange","red","green","yellow","red","green","orange","yellow"]
pen.speed(0)
distance=1
for i in range(1,10000):
pen.color(coo[i%4])
pen.forward(i)
pen.right(179.9)
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
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