Commit c2b93d83 by BellCodeEditor

save project

parent e8407f47
Showing with 5 additions and 3 deletions
......@@ -5,11 +5,12 @@
import turtle
pen = turtle.Pen()
colors=["rad","orange","yellow","green"]
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","orange","yellow","green"]
for i in range(0,300):
pen.pencolor(colors[i%4])
pen.forward(i)
distance+=1
pen.pencolor(colors[i%4])
pen.right(91)
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