in this we took an in-depth tour of the string object type we learned about coding string literalsand we explored string operationsincluding sequence expressionsstring method callsand string formatting with both expressions and method calls along the waywe studied variety of concepts in depthsuch as slicingmethod call syntaxand triple-quoted block strings we also defined some core ideas common to variety of typessequencesfor exampleshare an entire set of operations in the next we'll continue our types tour with look at the most general object collections in python--lists and dictionaries as you'll findmuch of what you've learned here will apply to those types as well and as mentioned earlierin the final part of this book we'll return to python' string model to flesh out the details of unicode text and binary datawhich are of interest to somebut not allpython programmers before moving onthoughhere' another quiz to review the material covered here test your knowledgequiz can the string find method be used to search list can string slice expression be used on list how would you convert character to its ascii integer codehow would you convert the other wayfrom an integer to character how might you go about changing string in python given string with the value " ,pa, "name two ways to extract the two characters in the middle how many characters are there in the string " \nb\ \ " why might you use the string module instead of string method callstest your knowledgeanswers nobecause methods are always type-specificthat isthey only work on single data type expressions like + and built-in functions like len(xare genericthoughand may work on variety of types in this casefor instancethe in membership expression has similar effect as the string findbut it can be used to search both strings and lists in python xthere is some attempt to group methods by categories (for examplethe mutable sequence types list and bytearray have similar method sets)but methods are still more type-specific than other operation sets yes unlike methodsexpressions are generic and apply to many types in this casethe slice expression is really sequence operation--it works on any type of setest your knowledgeanswers