putting strings inside other strings putting strings inside other strings is common operation in programming so farwe've been using the operator and string concatenation to do thisname 'alage 'hellomy name is name am str(ageyears old 'hellomy name is al am years old howeverthis requires lot of tedious typing simpler approach is to use string interpolationin which the % operator inside the string acts as marker to be replaced by values following the string one benefit of string interpolation is that str(doesn' have to be called to convert values to strings enter the following into the interactive shellname 'alage 'my name is % am % years old (nameage'my name is al am years old python introduced -stringswhich is similar to string interpolation except that braces are used instead of %swith the expressions placed directly inside the braces like raw stringsf-strings have an prefix before the starting quotation mark enter the following into the interactive shellname 'alage 'my name is {namenext year will be {age 'my name is al next year will be remember to include the prefixotherwisethe braces and their contents will be part of the string value'my name is {namenext year will be {age 'my name is {namenext year will be {age useful string methods several string methods analyze strings or create transformed string values this section describes the methods you'll be using most often