文件family.txt在当前代码所在目录内,其内容是一段文本:We are family, 以下代码的输出结果是_________。 txt=open("family.txt","r") print(txt) txt.close()
举一反三
- 文件family.txt在当前代码所在目录内,其内容是一段文本:We are family, 以下代码的输出结果是_________。 txt=open("family.txt","r") print(txt) txt.close()
- 文件family.txt在当前代码所在目录内,其内容是一段文本: We are family,以下代码的输出结果是()。txt = open("family.txt","r")print(txt)txt.close() A: txt B: family.txt C: 非其他答案 D: We are family
- 文件book.txt在当前代码所在目录内,其内容是一段文本:pythonbook,以下代码的输出结果是______。 txt = open("book.txt", "r") print(txt) txt.close()
- 文件 book.txt 在当前代码所在目录内,其内容是一段文本:book,以下代码的输出结果是______。 txt = open("book.txt", "r") print(txt) txt.close()
- 文件 booktxt 在当前程序所在目录内,其内容是一段文本:book,下面代码的输出结果是 txt = open(“booktxt”, “r”) print(txt) txt.close()