Commit 02ac2309 by BellCodeEditor

save project

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