第14663题 单选题
执行给定的Python csv读写程序段后,输出的结果是什么?

有如下Python程序段,执行程序后,输出的结果是?

import csv
with open('123.csv', 'w',newline='') as f:
    w=csv.writer(f)
    w.writerows([('hello','world'), ('I','love','you')])
with open('123.csv', 'r') as f:
    sp= csv.reader(f)
    for row in sp:
        print(row[0],end=',')
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析