Just answering your question from 2 days ago -
for a_value in percentages:
, my turtles heading is going to be: a_value
multiplied by 360. My turtle is then going to turn left in that direction, walk off drawing a line, and then going back to the middle of the circle.
That's going to be the end of my loop. When the next loop sets off, my turtle will - turn left in the direction of the next a_value
in percentages
, it's going to stroll off and draw a line, and then return to the middle.
Basically, my turtle is going to keep doing this for every value in percentages
until there's nothing left in the percentages
list. Just remember your loop starts off when you do the for
command - what your telling python in plain speak is "for each value in percentages, I want you to do the following:" and off it goes executing everything underneath that.