Oct 252010
Multi-line string in Python
Answer:
In Python, multi-line string are enclosed in triple double (or single) quotes:
E.g.
s = """Line1
Line2
Line3"""
print s
Or
s = '''Line1
Line2
Line3'''
print s
Both methods are valid.