note not every string is string literal sometimes strings are input by user or read from file since they're not typed out with quotation marks in your codethey're not string literals the quotes surrounding string are called delimiters because they tell python where string begins and where it ends when one type of quotes is used as the delimiterthe other type can be used inside the stringstring "we're # !string ' said"put it over by the llama "after python reads the first delimiterit considers all the characters after it part of the string until it reaches second matching delimiter this is why you can use single quote in string delimited by double quotesand vice versa if you try to use double quotes inside string delimited by double quotesyou'll get an errortext "she said"what time is it?"file ""line text "she said"what time is it?"syntaxerrorinvalid syntax python throws syntaxerror because it thinks the string ends after the second "and it doesn' know how to interpret the rest of the line if you need to include quotation mark that matches the delimiter inside stringthen you can escape the character using backslashtext "she said\"what time is it?\"print(textshe said"what time is it?