two different programming projectsa simple clipboard that stores multiple strings of text and program to automate the boring chore of formatting pieces of text working with strings let' look at some of the ways python lets you writeprintand access strings in your code string literals typing string values in python code is fairly straightforwardthey begin and end with single quote but then how can you use quote inside stringtyping 'that is alice' cat won' workbecause python thinks the string ends after aliceand the rest ( cat 'is invalid python code fortunatelythere are multiple ways to type strings double quotes strings can begin and end with double quotesjust as they do with single quotes one benefit of using double quotes is that the string can have single quote character in it enter the following into the interactive shellspam "that is alice' cat since the string begins with double quotepython knows that the single quote is part of the string and not marking the end of the string howeverif you need to use both single quotes and double quotes in the stringyou'll need to use escape characters escape characters an escape character lets you use characters that are otherwise impossible to put into string an escape character consists of backslash (\followed by the character you want to add to the string (despite consisting of two charactersit is commonly referred to as singular escape character for examplethe escape character for single quote is \you can use this inside string that begins and ends with single quotes to see how escape characters workenter the following into the interactive shellspam 'say hi to bob\' mother python knows that since the single quote in bob\' has backslashit is not single quote meant to end the string value the escape characters \and \let you put single quotes and double quotes inside your stringsrespectively table - lists the escape characters you can use