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

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -