以下Python代码的作用是哪一项?
with open(r"data.txt") as f:
while True:
line = f.readline()
if not line:
break
print(line, end="")
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析