题解 | 单词造句
单词造句
https://www.nowcoder.com/practice/c0c7fa7523ea4651bd56b6cbc8c65c66
lines = []
while True:
try:
line = input()
if line == "0": # 空行表示结束
break
lines.append(line)
except EOFError:
break
print(" ".join(lines))


查看10道真题和解析