my_list = ['a', 'b', 'c', 'd'] my_string = ','.join(my_list) 'a,b,c,d'
my_list = ['a', 'b', 'c', 'd'] my_string = ','.join(map(str, my_list)) #Ensures values are processed as strings #Result: 'a,b,c,d'