python列表转换为字符串

list_a=["345"]
str_a="".join(list_a)
print(type(str_a))
print(str_a)

输出结果:

<type 'str'>
345

  

猜你喜欢

转载自www.cnblogs.com/taoyuanming/p/10863798.html