Commit e8ff63e0 by BellCodeEditor

save project

parent 646ce6bb
Showing with 6 additions and 4 deletions
import turtle import turtle
distance=1
pen=turtle.Pen() pen=turtle.Pen()
for i in range(400):
pen.forward(distance) colors=["red","green","yellow","orange"]
for i in range(1,4000):
pen.forward(i)
pen.right(91) pen.right(91)
distance+=1 pen.pencolor(colors[i%4])
Pen.hideturtle() Pen.hideturtle()
turtle.done() turtle.done()
......
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