Python: multiple lines of data in one string

Easy:

data = '''
<person>
 <name>Nombre</name>
 <phone type="intl">
 +1 23 456789
 </phone>
 <email hide="yes"/>
</person>'''
Advertisements