Commit c4a2ed54 by BellCodeEditor

save project

parent 09e20f6b
Showing with 5 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen()
Pen=turtle.Pen() Pen=turtle.Pen()
colors=["red","orange","yellow","green"]
screen.bgcolor("black")
for i in range(1,300): for i in range(1,300):
Pen.pencolor(colors[i%4])
Pen.forward(i) Pen.forward(i)
Pen.right(91) Pen.right(91)
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