Manipulating strings
x

Strings are ordered text

Python string diagram of the word Computer with indexes 0 to 7 and the slice word[3:6] highlighted as put A string is text stored in quotes, and Python treats it as an ordered sequence of characters. Because the characters are ordered, each one has a position called an index.

Manipulating strings Lesson