Commit 18b05647 by BellCodeEditor

save project

parent ec5dffbd
Showing with 5 additions and 0 deletions
import turtle import turtle
t=turtle.Pen() t=turtle.Pen()
s=turtle.Screen()
s.bgcolor("black")
colors=["red","purple","blue","pink"]
for i in range(1,300): for i in range(1,300):
t.pencolor(colors[i%4])
t.forward(i) t.forward(i)
t.right(91) t.right(91)
t.hideturtle() t.hideturtle()
\ 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