Commit 4220d1b4 by BellCodeEditor

auto save

parent 7a67d849
Showing with 1 additions and 4 deletions
...@@ -5,14 +5,11 @@ ...@@ -5,14 +5,11 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
screen=turtle.Screen() # 请创造师在下面接着创作
screen.bgcolor("black")# 请创造师在下面接着创作
colors=["red","blue","orange","green","white","pink","purple","gray"]
for i in range (1,300): for i in range (1,300):
pen.forward(i) pen.forward(i)
pen.left(91) pen.left(91)
pen.pencolor(colors[i%8])
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
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