Commit e7ab72bc by BellCodeEditor

save project

parent 58cfa427
Showing with 6 additions and 16 deletions
......@@ -4,22 +4,11 @@
"""
import turtle
pen =turtle. Pen()
colors = ['red','orange','yellow','green']
pen = turtle.Turtle()
screen = turtle.Screen()
screen.bgcolor("light pink")
colors=["red","blue","yellow","cyan"]
# 请创造师在下面接着创作
distance=1
pen.speed(10000000000000000000000000000000000000)
for i in range(1,1000):
pen.pencolor(colors[i%4])
for i in range(1,500):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
turtle.downe()
\ 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