Commit 09ac1125 by BellCodeEditor

save project

parent ffb723cc
Showing with 7 additions and 16 deletions
"""
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light pink")
colors=["white","blue","violet","red"]
distance=1
pen.speed(1000)
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.speed(100)
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.fd(i)
pen.rt(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