Commit c5aaa0b2 by BellCodeEditor

save project

parent 71ede1de
Showing with 3 additions and 2 deletions
import turtle import turtle
t = turtle.pen() t = turtle.Pen()
color = ['red','blue','yellow','black','green','purple'] color = ['red','blue','yellow','black','green','purple']
for i in range(1,299): for i in range(1,299):
t.forward(i) t.forward(i)
t.color(color[i%6]) t.color(color[i%6])
t.left(91) t.left(61)
t.hideturtle() t.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