🌈 搜索
📅  最后修改于: 2022-03-11 14:45:19.343000             🧑  作者: Mango
s = "a\nb\nc\nd\n" t = str.join(" ", s.splitlines()) #output "a b c d"