📜  python 为连接字符串压缩 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:04.549000             🧑  作者: Mango

代码示例1
LIST = [ 'a', 'b', 'c' ]
text = ' '.join(x for x in LIST)
print(text)

# OUTPUT
'a b c'