The behavior of strings diverges from other sequence
types in Python. The string abstraction does not conform to the full sequence
abstraction that we described for lists and ranges. In particular, the
membership operator in applies to strings, but has an entirely different
behavior than when it is applied to sequences. It matches substrings rather
than elements.