摘要: stri = '' try: for line in iter(input, stopword): stri += line + '\n' except EOFError: pass stri = stri[0:-1] # do something……``` 其中,stopword代表空字符船:当读 阅读全文
posted @ 2020-10-13 18:38 LiYiming 阅读(2050) 评论(0) 推荐(0) 编辑