Strings, indexes and slices

A string is a row of characters numbered from `0`, so `s[i]` takes one, `s[a:b]` takes from `a` up to but not including `b`, and a string can't be changed in place, only used to build a new one.

From Introduction to Computer Science.