Strings
Characters in a row — palindromes, windows, and the hashing that finds a needle fast.
Start the module
1. String Basics · 4 min
0 of 11 lessons · 0% complete
Strings visualizer
Every lesson in this module opens with an animation you can step through. This is the first one — String Basics: Strings never change — every edit builds a brand-new one.
String Basics
Step 1 of 9
+= copies0join copies0
out += ch
S
T
R
I
N
G
parts.append(ch)
S
T
R
I
N
G
Build STRING one character at a time, two ways. A Python string cannot be edited in place.
- Lessons
- 11
- Minutes
- 54
- Problems
- 16
- Concepts
- 5
Quiz yourself: 3 questions from this module
1 / 3