Commit 79ca0421 by BellCodeEditor

save project

parent faf8dd05
Showing with 13 additions and 0 deletions
import turtle
pen=turtle.Pen()
distance=1
screen=turtle.Screen()
screen.bgcolor("black")
color=["pink","blue","green","red"]
for i in range(2,300,3):
pen.pencolor(color[i%4])
pen.forward(distance)
pen.right(91)
distance+=1
pen.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