Python strings as sequences of characters Python strings are sequences of individual characters, and share their basic methods of access with those other Python sequences – lists and tuples. The simplest way of extracting single characters from strings (and individual members from any sequence) is to unpack them into corresponding variables.
>>> s = 'Don'
>>> a, b, c = s # Unpack into variables
Unfortunately, it’s not […]