Commit 28d330aa by BellCodeEditor

save project

parent faf8dd05
Showing with 15 additions and 0 deletions
import turtle
p=turtle.Pen()
s=turtle.Screen()
colors=['red','blue','green','purple',]
s.bgcolor('black')
p.speed('fastest')
p.pensize(2)
for d in range(900):
p.forward(d)
p.pencolor(colors[d%4])
p.right(91)
d+=1
p.hideturtle()
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