python 字符串数组互转 2023-01-31 05:01:50 python 字符串 数组 字符串转数组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) 相关文章