You can use escape sequences for special characters such as
Backslash \\ New line \n Quote \" Tab \t
Note the escape sequences operate in single quoted strings (unlike perl and php).
Triple Double or Single Quotes
Using a triple set of Single or Double Quotes
"""Such as this""" '''or this'''
allows you to use single or double quotes within the string without escaping them and formats whitespace as it appears in the string. Escape sequences still work.
These are usually used for doc strings in methods and classes.