Files
practical-python/Notes/06_Generators/00_Overview.md
David Beazley b5244b0e61 link experiment
2020-05-26 09:21:19 -05:00

250 B

Overview

A simple definition of Iteration: Looping over items.

a = [2,4,10,37,62]
# Iterate over a
for x in a:
    ...

This is a very common pattern. Loops, list comprehensions, etc.

Most programs do a huge amount of iteration.