Bridge Academy.
← BACK TO MATERIALS
WEEK 52 · SEPTEMBER 10, 2026

Data Iteration · Part 4

for over strings; iterate chars, count letters/vowels, build new strings char by char.

Lesson 16 · Data Iteration · Part 4 — Level I · Guide

September 10, 2026 · Bridge Academy Python Program

Learning goals

  • Loop over a string character by character with for.
  • Count letters, vowels, digits, or any characters matching a test.
  • Build a new string character by character using +.
  • Use in inside a loop to classify characters.

This lesson covers PCEP-30-02 objective 2.2.

Preview truncated — download the notebook to see the full lesson.