tools also unlike languages such as cpython has no distinct type for individual charactersinsteadyou just use one-character strings strictly speakingpython strings are categorized as immutable sequencesmeaning that the characters they contain have left-to-right positional order and that they cannot be changed in place in factstrings are the first representative of the larger class of objects called sequences that we will study here pay special attention to the sequence operations introduced in this because they will work the same on other sequence types we'll explore latersuch as lists and tuples table - previews common string literals and operations we will discuss in this empty strings are written as pair of quotation marks (single or doublewith nothing in betweenand there are variety of ways to code strings for processingstrings support expression operations such as concatenation (combining strings)slicing (extracting sections)indexing (fetching by offset)and so on besides expressionspython also provides set of string methods that implement common string-specific tasksas well as modules for more advanced text-processing tasks such as pattern matching we'll explore all of these later in the table - common string literals and operations operation interpretation 'empty string "spam'sdouble quotessame as single ' \np\ta\ mescape sequences ""multiline ""triple-quoted block strings '\temp\spamraw strings (no escapesb 'sp\xc mbyte strings in and ( 'sp\ municode strings in and ( concatenaterepeat [iindexslicelength [ :jlen( " % parrotkind string formatting expression " { parrotformat(kindstring formatting method in and find('pa'string methods (see ahead for all )searchs rstrip(remove whitespaces replace('pa''xx'replacements split(','split on delimiterstring basics