Commit 09330cb7 by BellCodeEditor

save project

parent d1395ce5
Showing with 6 additions and 4 deletions
import turtle import turtle
q=turtle.Pen() q=turtle.Pen()
distance=1 s=turtle.Screen()
for i in range(1000): s.bgcolor("black")
q.forward(distance) colors=["blue","green","orange","yellow"]
for i in range(1,1000):
q.pencolor(colors[i%4])
q.forward(i)
q.right(91) q.right(91)
distance+=1
q.hideturtle() q.hideturtle()
turtle.done() turtle.done()
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