For loop for List
range = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] for number in range: print number
1. | List for iteration | ||
2. | For Statements | ||
3. | Loop through a list: for in | ||
4. | To iterate over the indices of a sequence, combine range() and len() | ||
5. | For loop demo |