Python machen String One -Zeile
s = "a\nb\nc\nd\n"
t = str.join(" ", s.splitlines())
#output "a b c d"
Tough Tarsier
s = "a\nb\nc\nd\n"
t = str.join(" ", s.splitlines())
#output "a b c d"