Commit 22bc9440 by BellCodeEditor

save project

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