Commit d8b69df0 by BellCodeEditor

auto save

parent cf5a9b06
Showing with 3 additions and 2 deletions
...@@ -6,14 +6,14 @@ import turtle ...@@ -6,14 +6,14 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
pen = turtle.Pen() pen = turtle.Pen()
pen.speed(20) pen.speed(23)
c=["red","blue","orange","yellow"] c=["red","blue","orange","yellow"]
# 请创造师在下面接着创作 # 请创造师在下面接着创作
for i in range(300): for i in range(300):
pen.forward(i) pen.forward(i)
pen.pencolor(c[i%4]) pen.pencolor(c[i%4])
pen.right(210) pen.right(20410)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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