Commit e44d7d5b by BellCodeEditor

auto save

parent 009c4d14
Showing with 6 additions and 6 deletions
......@@ -5,13 +5,13 @@
import turtle
pen = turtle.Pen()
screen=turtle.screen()
screen.color("pink")
colors=["blue","red","purple","white"]
screen=turtle.Screen()
screen.bgcolor("pink")
colors=["blue","red","blue","red"]
# 请创造师在下面接着创作
for i in range(1,300):
pen.forward(1)
pen.pencolour(colos[i%4])
for i in range(1,1000):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
......
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