题解 | #单词造句#
单词造句
https://www.nowcoder.com/practice/c0c7fa7523ea4651bd56b6cbc8c65c66
str=[]
while True:
a=input()
if a=='0':
break
str.append(a)
print(' '.join(str))
python中的join函数:
单词造句
https://www.nowcoder.com/practice/c0c7fa7523ea4651bd56b6cbc8c65c66
str=[]
while True:
a=input()
if a=='0':
break
str.append(a)
print(' '.join(str))
python中的join函数:
相关推荐