Commit 78d52da1 by BellCodeEditor

save project

parent a926a422
Showing with 4 additions and 3 deletions
......@@ -4,10 +4,10 @@ pen=turtle.Pen()
pen.speed(100)
screen=turtle.Screen()
screen.bgcolor("black")
colors=["green","red","orange","yellow"]
colors=["green","red","orange","yellow","blue","purple","light blue","white"]
for i in range(300):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
pen.pencolor(colors[i%8])
pen.right(456)
turtle.hideturtle()
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