Triple Quotes : Quote « String « Python Tutorial






hi = '''hi
there'''

print hi             # repr()
'hi\nthere'
print hi       # str()








5.21.Quote
5.21.1.Single-Quoted Strings and Escaping Quotes
5.21.2.Triple Quotes
5.21.3.Creating strings and using quote characters in strings.