题解 | #单词造句#
单词造句
https://www.nowcoder.com/practice/c0c7fa7523ea4651bd56b6cbc8c65c66
str1 = ''
while True:
a = str(input())
if a == '0':
break
else:
str1 = str1 + a + ' '
print(str1)
字符串方法,不用join也行
单词造句
https://www.nowcoder.com/practice/c0c7fa7523ea4651bd56b6cbc8c65c66
str1 = ''
while True:
a = str(input())
if a == '0':
break
else:
str1 = str1 + a + ' '
print(str1)
字符串方法,不用join也行
相关推荐