Commit 9e8e1344 by BellCodeEditor

save project

parent 08647ebd
Showing with 8 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
d=1 screen=turtle.Screen()
for i in range(400): screen.bgcolor("black")
pen.forward(d) colors=["red","yellow","green","blue","purple","white"]
d+=1 for i in range(1,400):
pen.right(97) pen.pencolor(colors[i%6])
pen.forward(i)
pen.right(61)
pen.hideturtle() pen.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