To write a string that spans several lines, you can use triple quotes instead of ordinary quotes
# You can use triple double quotes, """like this""". # Both single and double quotes are allowed inside. print '''this is a test. this is a test. "test .'''