Commit 733f3b39 by BellCodeEditor

save project

parent df6a77d0
Showing with 9 additions and 4 deletions
import turtle
colors=["red","blue","violet","cyan"]
screen=turtle.Screen()
screen.bgcolor('black')
pen=turtle.Pen()
t=1
for i in range(300):
pen.forward(t)
pen.speed(9)
for i in range(1,300):
pen.color(colors[i%4])
pen.forward(i)
pen.right(91)
t+=1
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