Commit 8c573fb5 by BellCodeEditor

auto save

parent f9c61465
Showing with 13 additions and 12 deletions
import turtle
pen=turtle.Pen()
sides=7
turtle.bgcolor("black")
colors=["red","orange","yellow","green","light blue","blue","purple"]
for i in range(360):
pen.pencolor(colors[i%sides])
pen.forward(i*3/sides+i)
pen.left(360/sides+1)
pen.width(i*sides/300)
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
turtle.bgcolor("black")
sides=7
colors=["red","orange","yellow","green","light bule","blue","purple"]
for i in range(360):
pen.pencolor(color[i%sides])
pen.forward(i*3/sides+i)
pen.left(360/sides+1)
pen.width(i*sides/200)
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