Strings · Part 1
Indexing, slicing, and escapes on ISO dates, DNA, hex colors, and CSV fields.
Lesson 06 · Strings · Part 1 — Level II · Guide
June 18, 2026 · Bridge Academy Python Program
Learning goals
- Construct strings with single, double, and triple quotes. - Extract fields from structured text using indexing and slicing. - Use step slicing s[::2] and reverse slicing s[::-1] for data tasks. - Apply escape sequences for quotes, newlines, tabs, and backslashes. - Recognize that strings are immutable and build new strings by slicing.
This lesson covers PCEP-30-02 objective 3.4.
Preview truncated — download the notebook to see the full lesson.