Commit c8631fa4 by BellCodeEditor

save project

parent 8430d339
Showing with 9 additions and 7 deletions
import turtle
pan=turtle.Pan()
distance=1
for i in range(300):
pan=forward(distance)
distance=i+1
right(91)
from turtle import*
pen=Pen()
bgcolor("black")
colors=["green","pink","red","yellow"]
for i in range(1,600):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
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