Commit c35c3825 by BellCodeEditor

auto save

parent 9fa97cf6
Showing with 10 additions and 0 deletions
......@@ -4,12 +4,22 @@
"""
import turtle
# 黑色背景
screen = turtle.Screen()
screen.bgcolor("black")
pen = turtle.Pen()
pen.speed(100)
# 请创造师在下面接着创作
colors = ["red","pink",'blue','green']
for i in range(1,300):
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