def printResults(results, domainname):
 sys.stdout.write(('# Domain Summary for %r\n' % (domainname,)))
 sys.stdout.write(('\n\n'.join(results) + '\n'))

def printResults ( results , domainname ) : sys . stdout . write ( ( '# Domain Summary for %r\n' % ( domainname , ) ) ) sys . stdout . write ( ( '\n\n' . join ( results ) + '\n' ) )
print the formatted results for each dns record type .