Python in one minuteLesson 021 min
How does a for loop walk through a list?
A for loop takes one item from a list per turn, in order. On the first turn the loop name points to the first item and the indented line runs, then the loop moves to the next, and stops when none are left. The name is one you choose. Read it as a sentence: for each fruit in the list, print the fruit. Three items mean three runs.
Remember
The loop name holds one item per turn; the indented code runs once per item.
