title: How to draw a ring of colors using turtle module in python
body: <p>I have the following code which is supposed to draw a ring of colors around a circle but only one color if printed and changed 8 times before moving to the next</p>
  
  <pre><code>import turtle
  
  def drawCircle(colorList, radius):
      for color in colorList:
          turtle.color(color)
          for i in range(len(colorList)):
              turtle.penup()
              turtle.setpos(0, -radius)
              xpos=turtle.xcor()
              ypos=turtle.ycor()
              head=turtle.heading()
              turtle.begin_fill()
              turtle.pendown()
              turtle.home()
              turtle.setpos(xpos,ypos)
              turtle.setheading(head)
              turtle.circle(radius)
              turtle.end_fill()
              turtle.penup()
      return
  
  colorList=["#880000","#884400","#888800","#008800",\
          "#008888","#000088","#440088","#880088"]
  
  drawCircle(colorList,200)
  </code></pre>
  
  <p>How would I make it that each arc around the circle is a different color. <a href="http://www.hgtv.com/decorating-basics/color-wheel-primer/index.html" rel="nofollow">here is an example</a></p>