Commit 6e76f337 by BellCodeEditor

save project

parent 6d171bb5
Showing with 8 additions and 3 deletions
import turtle import turtle
len=1 len=1
pen=turtle.Pen() pen=turtle.Pen()
for i in range(3000): screen=turtle.Screen()
screen.bgcolor("black")
c=["red""orange""yellow""green"]
pen.speed(10)
for i in range(300):
pen.pencolor(c[i%4])
pen.forward(len) pen.forward(len)
pen.right(1) pen.right(91)
len=len+1 len=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