• 2022-06-08
    关于下列代码有一处错误,请找出>;>;>; from docx import Document>;>;>; document = Document()#(1)>;>;>; document.add_paragraph('Hello world') #(2)>;>;>;document.add_paragraph('I love you')>;>;>; document.save(test.docx)#(3)>;>;>; for p in document.paragraphs:#(4)print(p.text)#(5)
    A: (1)
    B: (2)
    C: (3)
    D: (4)