multi line string in python code example
Example 1: python multiline string
'''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.'
Example 3: python multILINE string
"""You can
use both
double quotes
"""
'''And
singel
quotes
'''