concatenating values in `list1` to a string,str1 = ''.join(list1)