Commit ee0f1ce0 by BellCodeEditor

auto save

parent abf4c438
Showing with 11 additions and 1 deletions
...@@ -11,7 +11,7 @@ screen.bgcolor("light pink") ...@@ -11,7 +11,7 @@ screen.bgcolor("light pink")
colors=["white","blue","violet","cyan"] colors=["white","blue","violet","cyan"]
# 请创造师在下面接着创作 # 请创造师在下面接着创作
distance=1 distance=1
pen.speed(1000) pen.speed(1)
for i in range(1,300): for i in range(1,300):
pen.pencolor(colors[i%4]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
......
import turtle
pen=turtle.Pen
for i in range(1,300):
pen.forward(i)
pen.right(91)
turtle.hideturtle()
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