triple-quoted strings preserve whitespaceincluding newlines this means that running print(paragraphwould display the string on multiple linesjust as it appears in the string literal this may or may not be what you wantso you'll need to think about the desired output before you choose how to write multiline string to see how whitespace is preserved in triple-quoted stringtype the following into idle' interactive windowprint("""an example of string that spans across multiple lines and also preserves whitespace """an example of string that spans across multiple lines and also preserves whitespace notice how the second and third lines in the output are indented in exactly the same way as the string literal review exercises you can nd the solutions to these exercises and many other bonus resources online at realpython com/python-basics/resources print string that uses double quotation marks inside the string print string that uses an apostrophe inside the string print string that spans multiple lines with whitespace preserved print string that is coded on multiple lines but gets printed on single line concatenationindexingand slicing now that you know what string is and how to declare string literals in your codelet' explore some of the things you can do with strings