Commit 9e8e1344 by BellCodeEditor

save project

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