Commit 2dfa3748 by BellCodeEditor

save project

parent 13b43a8e
Showing with 6 additions and 4 deletions
import turtle import turtle
turtle=pen.turtle pen=turtle.Pen()
for i in range(1,300) colors=["red","green","yellow","orange"]
pen.forward(i) for i in range(1,300):
pen.left(91) pen.forward(i)
pen.left(91)
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