python string over multiple lines code example

Example 1: python change line in code

a = '1' + '2' + '3' + \
    '4' + '5'

Example 2: 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 3: python multiple line string

value='Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque nisl eros, ", '\
'pulvinar facilisis justo mollis, auctor consequat urna. Morbi a bibendum metus. '\
'Donec scelerisque sollicitudin enim eu venenatis. Duis tincidunt laoreet ex, '\
'in pretium orci vestibulum eget. Class aptent taciti sociosqu ad litora torquent'\
'per conubia nostra, per inceptos himenaeos. Duis pharetra luctus lacus ut '\
'vestibulum. Maecenas ipsum lacus, lacinia quis posuere ut, pulvinar vitae dolor.'