turtle graphics - Python beginfill and fillline with multiple shapes and for loops -
so need capping off loops (they can go on forever, yet need them in range of 12 , 10.) thinking instead
in range(sides): instead do
sides in range(12): #and repeat repeat in range(10): this in theory should stop possibly infinite process of looping right? anyways continuing second problem, end_fill() doesn't fill in each shape different color (outline , insides should same, , on new shape should random color (using randint function))
code available here: https://gist.github.com/anonymous/3984f7a1a04e9957ea55
Comments
Post a Comment