写入古诗并读取和复制 def luru(): f = open("poes.txt", "w") s = input("请输入想录入的古诗:") f.write(s) f.close() def duqu(): f = open("poes.txt", "r") content = f.read() print(content) g=open("copy.txt","w") g.write(content) g.close() print("复制完毕") luru() duqu()