Commit ea7ab003 by BellCodeEditor

save project

parent 55d63c10
Showing with 6 additions and 5 deletions
import turtle import turtle
t=turtle.Pen() t=turtle.Pen()
colors=["blue","red","pink","yellow"] colors=(["pink","red","green","yellow"])
for i in range(1,300): for i in range(300):
t.pencolors([i%4]) t.pencolor(colors[i%4])
t.forward(i) t.forward(i)
t.right(91) t.left(91)
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