Commit 9c943d78 by BellCodeEditor

save project

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