1、数组拼接为字符串 a = [542384,40,3324452,432455,51345] s = '-'.join(a) >>> s = "542384-40-3324452-432455-51345"