How do you define multiline strings

Posted by Andre Scott | Updated on

You can define multiline string literals using the ” character followed by line terminator.

But if you have a space after the ” character, the code will look exactly the same, but it will raise a SyntaxError.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers