Commit 36961632 by BellCodeEditor

save project

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