Commit 54ce4ea1 by BellCodeEditor

save project

parent a06110ce
Showing with 4 additions and 2 deletions
import turtle import turtle
p=turtle.Pen() p=turtle.Pen()
p.speed(0)
colors=["red","orange","yellow","green"]
for i in range(1,300): for i in range(1,300):
p.forward(i) p.forward(i)
p.pencolor(colors[i%4])
p.right(91) p.right(91)
p.hideturtle() p.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