April 2018
Beginner to intermediate
227 pages
4h 53m
English
Python stores text in the string data type, str. Processing text is quite different from computing with numbers, but Python strings share many similarities with lists. For example, strings are often taken apart and put back together in different ways. Example 3.1 illustrates this by forming the present indicative conjugations of a family of regular Spanish verbs.

Example 3.1 Verb conjugator.
Strings Are Sequences
Python sequence types share many common features because they represent sequences of objects, where there is a first, second, third, etc. Strings are the third sequence type we have seen: range() ...
Read now
Unlock full access