请问这段代码为什么没有输出?

请问这段代码为什么没有输出?

问题描述:

img


其中in.txt文件是这样的:

img


(Python 3.7.9)

                result.txt with open as X+ fo:
      with in.txt open a8 f:
            for lineinf:
                  lines=line.replace
                  fo.write(lines
            seek=0
            fo.read()

你没有写输出的代码啊