Commit ad8092dc by BellCodeEditor

auto save

parent a5973625
Showing with 9 additions and 5 deletions
......@@ -21,11 +21,16 @@ pen.hideturtle()
turtle.done()
"""
import turtle
pen.speed(0)
pen=turtle.Pen()
distance=1
screen = turtle.Screen()
screen.bgcolor("black"")
colors=[]
for i in range(300):
pen.forward(distance)
distance+=1
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
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