第15437题 判断题
已知Nums.txt存储0-9共10个数字且分两行存储,判断给出的Python代码运行后是否输出10?

Nums.txt文本文件中含有0-9共计10个数字,分为两行存储,第1行为0-4,第2行为5-9。

rFile = open("Nums.txt", "r")
print(len(rFile.read()))
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析