How to convert a tuple to a string in Python?,emaillist = '\n'.join(item[0] for item in queryresult)