title: Turtle graphics, draw a star?
body: <p>I want to draw a filled-in star, such as: </p>
  
  <p><img src="https://i.stack.imgur.com/cYf6S.jpg" alt="http://www.seaviewstickers.co.uk/shop/media/catalog/product/cache/1/thumbnail/600x600/9df78eab33525d08d6e5fb8d27136e95/b/l/black_11.jpg"></p>
  
  <p>I have this code so far:</p>
  
  <pre><code>def draw_star(size,color):
      count = 0
      angle = 144
      while count &lt;= 5:
          turtle.forward(size)
          turtle.right(angle)
          count += 1
      return
  
  draw_star(100,"purple")
  </code></pre>
  
  <p>I want to fill in the star with whatever color the function is passed. How can I do this?</p>