# ColorSpiral_Challenge.py
import turtle
t=turtle.Pen()
turtle.bgcolor('black')
# You can change sides between 2 and 6 for some cool shapes!
sides=eval(input('Enter a number of sides between 2 and 6: '))
colors=['red', 'yellow', 'blue', 'orange', 'green', 'purple']
for x in range(360):
    t.pencolor(colors[x%sides])
    t.forward(x * 3/sides + x)
    t.left(360/sides + 1)
    t.width(x*sides/200)

# ColorSpiral_Challenge.py
import turtle
t=turtle.Pen()
turtle.bgcolor('black')
# You can change sides between 2 and 6 for some cool shapes!
sides=eval(input('Enter a number of sides between 2 and 6: '))
colors=['red', 'yellow', 'blue', 'orange', 'green', 'purple']
for x in range(360):
    t.pencolor(colors[x%sides])
    t.forward(x * 3/sides + x)
    t.left(360/sides + 1)
    t.width(x*sides/200)

# ColorSpiral_Challenge.py # You can change sides between 2 and 6 for some cool shapes!