python write string in multiple lines code example
Example 1: python multiline string
#you can start a multiline string with either ''' or """
'''This is a
multiline
string.'''
"""It can be used as a
multiline comment
too."""
Example 2: python how to write code over multiple lines
a = '1' \
+ '2' \
+ '3' \
- '4'