Commit 71e78032 by BellCodeEditor

auto save

parent 3a3928a4
Showing with 4 additions and 9 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
screen = turtle.Screen() screen = turtle.Screen()
screen.bgcolor("light pink") distance = 1
colors = ["black","blue","green","orange"] screen.bgcolor("pink")
pen.speed(1000) for i in range(30):
dinstance = 1 pen.forward(i)
for i in range(1,300):
dinstance += 1
pen.forward(dinstance)
pen.pencolor(colors[i%4])
pen.right(91) pen.right(91)
pen.hideturtle() pen.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