Commit b289509a by BellCodeEditor

auto save

parent 71de19eb
Showing with 13 additions and 7 deletions
import turtle import turtle
import random
pen = turtle.Pen() pen = turtle.Pen()
distance=1 screen=turtle.Screen()
for i in range(300): screen.bgcolor("green")
pen.forward(distance) colors=["blue","red","orange","yellow"]
distance+=1 for i in range(1,3000000):
pen.right(91) pen.pencolor(colors[i%4])
#pen.forward(i)
#pen.right(91)
pen.setx(random.random()*200-100)
pen.sety(random.random()*200-100)
pen.hideturtle() pen.hideturtle()
turtle.done() 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