-->
当前位置:首页 > 题库 > 正文内容

单选题:文件family.txt在当前代码所在目录内,其内容是一段文本We are family,以下程序的输出结果是( )。

Luz3年前 (2022-05-26)题库1183
文件family.txt在当前代码所在目录内,其内容是一段文本We are family,以下程序的输出结果是( )。

m_file = open("family.txt", "r")

txt = m_file.read()

print(txt)

m_file.close()



A.txt
B.family.txt
C.非其他答案
D.We are family


答案:D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。