Commit 02ac2309 by BellCodeEditor

save project

parent 43f0dbb9
Showing with 8 additions and 5 deletions
import turtle
pen = turtle.Pen()
distance=1
for i in range(300):
pen.fd(distance)
distance+=1
pen.rt(91)
screen=turtle.Screen()
screen.bgcolor("black")
color = ["red","yellow","blue","green"]
for i in range(800):
pen.color(color[i%4])
pen.fd(i)
pen.rt(5000)
pen.speed(i)
turtle.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