Commit 9801e540 by BellCodeEditor

save project

parent d64611a7
Showing with 2 additions and 1 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolor("black") colors=["red","green","yellow","orange"]
for i in range(1,300): for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.left(91) pen.left(91)
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