Commit 619c5611 by BellCodeEditor

save project

parent e496bfe1
import turtle
d=1
turtle.bgcolor("red")
turtle.speed(0)
for i in range(500):
turtle.forward(d)
for i in range(600):
turtle.forward(i)
turtle.right(91)
d=d+1
turtle.done()
\ No newline at end of file
import turtle
turtle.bgcolor("red")
turtle.speed(0)
c=["gray","purple","black","white"]
for i in range(600):
turtle.pencolor(c[i%4])
turtle.forward(i)
turtle.right(91)
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