Links: PYTHON - PROGRAMMING
Rel: re, str, regular_expressions
Ref:
Tags: #public
newline character: \n
>>> s = 'my string'
>>> s += '\npart 2'
>>> s
'my string\npart 2'
>>> print(s)
my string
part 2
tab: \t
>>> s = 'to do:'
>>> s += '\n\t- grocery shopping'
>>> s
'to do:\n\t- grocery shopping'
>>> print(s)
to do:
- grocery shopping