题目: 文件“静夜思.txt”的编码为“utf-8”,以下程序语句的输出结果为:
f=open(“静夜思.txt”,”r”,encoding=”utf-8″)
print(f)
文件“静夜思.txt”的编码为“utf-8”,以下程序语句的输出结果为:
f=open(“静夜思.txt”,”r”,encoding=”utf-8″)
print(f)
A.静夜思李白床前明月光,疑似地主霜。举头望明月,低头思故乡。
静夜思
李白
床前明月光,
疑似地主霜。
举头望明月,
低头思故乡。
B.静夜思
C.<_io.TextIOWrappername='静夜思.txt'mode='r'encoding='utf-8'>
D.<_io.TextIOWrappername='静夜思.txt'mode='r'encoding='GBK'>