Commit 3f1cff2c by BellCodeEditor

auto save

parent aa2c7548
Showing with 12 additions and 4 deletions
......@@ -4,16 +4,23 @@
"""
import turtle
screen = turtle.Screen()
screen.bgcolor("ForestGreen")
colors = ["DarkRed","DarkGoldenrod4","Cyan","HotPink"]
screen.bgcolor("Honeydew4")
colors = ["DarkRed","BlueViolet","Cyan","HotPink"]
pen = turtle.Pen()
pen2 = turtle.Pen()
pen3 = turtle.Pen()
pen3.pencolor("LightCyan1")
# 请创造师在下面接着创作
for i in range(0,999):
pen.pencolor(colors[i%4])
pen.forward(i)
pen2.circle(0.5*i,90)
pen3.forward(0.5+i)
pen3.right(95)
pen.forward(1+i)
pen.right(91)
b = 500 - i
b = 999 - i
print(b)
pen._delay(0)
# 隐藏画笔,保存画布
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