Commit 3537ec2a by BellCodeEditor

auto save

parent 25bc906b
Showing with 1 additions and 9 deletions
...@@ -23,15 +23,8 @@ pen = turtle.Pen() ...@@ -23,15 +23,8 @@ pen = turtle.Pen()
#请创造师在下面接着创作 #请创造师在下面接着创作
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
colors=["red","red","yellow","red"] colors=["red","red","red","red"]
for i in range(0,100): for i in range(0,100):
pen.pencolor(colors[i%4]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(90) pen.right(90)
for i in range(1,100):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(100)
pen.right(-100)
pen.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