Data Iteration · Part 2
for over lists; sums, counts, filters, building new lists, running max/min.
Lesson 14 · Data Iteration · Part 2 — Level I · Guide
August 27, 2026 · Bridge Academy Python Program
Learning goals
- Iterate directly over a list with
for item in my_list:. - Sum a list, count items, and track a running product.
- Build a new list using an empty list and
.append(). - Track a running maximum or minimum by hand.
- Use an
iftest inside the loop to filter (preview of conditionals).
This lesson covers PCEP-30-02 objective 2.2.
Preview truncated — download the notebook to see the full lesson.