I want to draw a filled-in star, such as:
I have this code so far:
def draw_star(size,color):
count = 0
angle = 144
while count <= 5:
turtle.forward(size)
turtle.right(angle)
count += 1
return
draw_star(100,"purple")
I want to fill in the star with whatever color the function is passed. How can I do this?