Commit b289509a by BellCodeEditor

auto save

parent 71de19eb
Showing with 12 additions and 5 deletions
import turtle
import random
pen = turtle.Pen()
distance=1
for i in range(300):
pen.forward(distance)
distance+=1
pen.right(91)
screen=turtle.Screen()
screen.bgcolor("green")
colors=["blue","red","orange","yellow"]
for i in range(1,3000000):
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()
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