Commit ab09ab75 by BellCodeEditor

save project

parent 9e576c0d
Showing with 4 additions and 3 deletions
......@@ -5,10 +5,10 @@ import turtle
pen = turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","green","yellow","orange","pink","blue","purple"]
colors=["red","green","yellow","blue","purple"]
for i in range(1,400):
pen.pencolor(colors[i%7])
pen.pencolor(colors[i%5])
pen.forward(i)
pen.right(120)
pen.right(150)
pen.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