osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Function and turtle help


On Feb 20, 2014, at 11:30 PM, Dave Angel <davea at davea.name> wrote:

> Look at turtle.begin_fill and turtle.end_fill
> 
> That's after making sure your star is a closed shape.



So, this is what I have so far and it ?works? but, it fills in the star with black and as you can see below I am trying to fill it in with red.  So I?m obviously messing up somewhere.  

def fillcolor(red):
    pencolor()
    begin_fill()
    star(500)
    end_fill()

red = pencolor
fillcolor(red)

Scott