Commit 7d368df0 by BellCodeEditor

save project

parent 28d330aa
Showing with 6 additions and 5 deletions
import turtle
p=turtle.Pen()
s=turtle.Screen()
colors=['red','blue','green','purple',]
colors=['red','blue','green','purple','yellow','orange']
s.bgcolor('black')
p.speed('fastest')
p.pensize(2)
p.pensize(3)
for d in range(900):
p.forward(d)
p.pencolor(colors[d%4])
p.right(91)
p.forward(0.5*d)
p.pencolor(colors[d%6])
p.right(62)
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