Commit 0b5acee3 by BellCodeEditor

save project

parent 2b5762b9
Showing with 7 additions and 7 deletions
......@@ -5,11 +5,12 @@
import turtle
pen = turtle.Pen()
pen.color("red")
i=1
for i in range(600):
screen=turtle.Screen()
screen.bgcolor("black")
colors=["green","red","orange","yellow"]
for i in range(1,601):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
distance=i+2
pen.hideturtle()
turtle.done()
\ No newline at end of file
turrle.hideturtle()
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