str = '1,2,3' arr = str.split(',')
arr = ['a','b'] str = ','.join(arr)
arr = [1,2,3] str = ','.join(str(i) for i in b)