在Python中,以下哪个选项可以正确写入内容到文件?( )
with open('file.txt', 'w') as f:
f.___('Hello World')
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析