python 把一个列表的每个元素合并成一个元素

t=reduce(lambda x, y:str(x)+str(y),list)

猜你喜欢

转载自blog.csdn.net/CSDN_Gjx/article/details/79340462