Commit d66f00c1 by BellCodeEditor

save project

parent 394fe4a0
Showing with 4 additions and 0 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("black")
pan=turtle.Pen() pan=turtle.Pen()
pan.speed(0) pan.speed(0)
#d=1 #d=1
colors=["red","blue","green","yellow"]
for i in range(1,300): for i in range(1,300):
pan.pencolor(colors[i%4])
pan.forward(i) pan.forward(i)
pan.right(91) pan.right(91)
d=1 d=1
......
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