Commit c8631fa4 by BellCodeEditor

save project

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