怎样解除长文本限制?与连续输入保存txt
input()
收起
按行写入文件,以空行回车退出
line = input() while line: with open('test.txt','a') as f: f.write(line + '\n') line = input()
报告相同问题?