Commit ad8092dc by BellCodeEditor

auto save

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