快乐学习 一个网站喵查铺子(catpuzi.com)全搞定~

文件“静夜思.txt”的编码为“utf-8”,以下程序语句的输出结果为:withopen(“静夜思.txt”,’r’,encoding=”UTF-8″)asf:print(f)

热门题目 网课答案 2023-05-31 扫描二维码

题目:文件“静夜思.txt”的编码为“utf-8”,以下程序语句的输出结果为:withopen(“静夜思.txt”,’r’,encoding=”UTF-8″)asf:print(f)

静夜思李白床前明月光,疑似地主霜。举头望明月,低头思故乡。
静夜思
<_io.TextIOWrapper name='静夜思.txt' mode='r' encoding='utf-8'>
<_io.TextIOWrapper name='静夜思.txt' mode='r' encoding='GBK'>

喵查答案:<_io.TextIOWrapper name='静夜思.txt' mode='r' encoding='utf-8'>
喜欢 (0)
关于作者: