how to write string in multiple lines in python 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 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.'