Back Navigation Next Navigation Video 7: Looping (page 1 of 5)

We use loops to repeat or execute code multiple times. We can loop over the items or the elements in a list, tuple, or dictionary. We do this using a "for" loop (i.e., for each item in a collection or container object). It would be inefficient to copy & paste the same code multiple times.

Looping