Back Navigation Next Navigation Conceptual Review (page 32 of 55)

ListsWe may also loop over the items in a list typically with a finite for loop. Doing so allows us to view or perform some work on specific items in the list. Notice the indentation in this loop.
Lists
We can also use the enumerate function in our finite for loops, which will give us the index position and the value in our iterator variables.
Lists
The most common way to access the items in a list is by the index position. We may specify a single index or a range of indexed positions. When specifying a range, the last number is not included.