Commit f60a463e by BellCodeEditor

save project

parent 1dc2006f
Showing with 9 additions and 6 deletions
......@@ -5,14 +5,16 @@
import turtle
pen = turtle.Pen()
s=turtle.Screen()
s.bgcolor("black")
pen.speed(1000)
# 请创造师在下面接着创作
v=["red',"]
distance=1
for i in range(1,800,1):
pen.forward(distance)
distance+=1
pen.right(222)
v=["red","orange","yellow","green"]
for i in range(1,1000,1):
pen.color(v[i%4])
pen.forward(i)
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