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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -