当前位置:主页 > 软件编程 > Python代码 >
时间:2021-03-06 10:11:15 | 栏目:Python代码 | 点击:次
如下所示:
stopword = '' str = '' for line in iter(raw_input, stopword): str += line + '\n' print(str)