Commit 9e126f94 by BellCodeEditor

save project

parent 8416de44
Showing with 8 additions and 9 deletions
import turtle import turtle
pen=turtle.Pen() pen = turtle.Pen()
screen=turtle.Screen() screen = turtle.Screen()
screen.bgcolor("light pink") screen.bgcolor("light pink")
colors=["white","blue","green","yellow"] colors=["white","cyan","light green","yellow"]
len=1 distance=1
pen.speed(1000) pen.speed(100*10000000000000)
for i in range(300): for i in range(1,600):
pen.forward(len) pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91) pen.right(91)
len+=1
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