Commit 4ba33ad1 by BellCodeEditor

save project

parent faf8dd05
Showing with 12 additions and 0 deletions
import turtle
i=1
turtle.speed(0)
turtle.bgcolor("black")
colors=["red","orange","yellow","green","cyan","navy","plum","brown"]
for i in range(300):
turtle.pencolor(colors[i%8])
turtle.forward(i)
turtle.left(91)
i+=1
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