执行给定Python文件操作代码后,输出的结果是什么?
with open('test.txt', 'w') as f:
f.write('Hello')
with open('test.txt', 'a') as f:
f.write('World')
with open('test.txt', 'r') as f:
print(f.read())
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析