Commit e44d7d5b by BellCodeEditor

auto save

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