Strings · Part 1
Construct, index, slice, escapes, immutability.
Lesson 06 · Strings · Part 1 — Level I · Guide
June 18, 2026 · Bridge Academy Python Program
Learning goals
- Build strings with single, double, and triple quotes.
- Index characters with
s[0],s[-1], and positions in between. - Slice strings with
s[:3],s[3:],s[2:5], and use a step likes[::2]ors[::-1]. - Use escape sequences
\n,\t,\",\',\\. - Remember that strings are immutable — you cannot change one character in place.
This lesson covers PCEP-30-02 objective 3.4.
Preview truncated — download the notebook to see the full lesson.