convert list to string,str1 = ''.join((str(e) for e in list1))