列表转字符
#列表转字符串(只有字符串): li = ["ety", "xyz", "hello", "world"] s = "".join(li) print(s) s = ",".join(a) print(s) ''' etyxyzhelloworld ety,xyz,hello,world '''
#列表转字符串(只有字符串): li = ["ety", "xyz", "hello", "world"] s = "".join(li) print(s) s = ",".join(a) print(s) ''' etyxyzhelloworld ety,xyz,hello,world '''