Commit d798d0ec by BellCodeEditor

auto save

parent 9fa97cf6
Showing with 12 additions and 5 deletions
......@@ -4,12 +4,19 @@
"""
import turtle
pen = turtle.Pen()
# 请创造师在下面接着创作
screen = turtle.Screen()
screen.bgcolor("black")
pen = turtle.Pen()
pen.speed(1000)
colors = ["red",'yellow','blue','pink']
distance = 1
for i in range(11500):
for j in colors:
pen.pencolor(j)
pen.forward(distance)
distance+=1
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