第18690题 单选题
为创建CSV文件的Python程序选择正确的空缺处代码

下列程序将建立一个CSV格式文件,选择划线处正确的代码选项:

a=['老虎','狗','大象','牛']
f=open('动物.CSV',______)
f.write(','.join(a)+'\n')
f.close()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析