第18719题 程序题
补全Python处理二维CSV数据的代码

下面程序实现对二维数据的处理,请你补全代码。

代码截图

f = open('/data/score2.csv', 'r')
a = []
for i in f:
    a.append(i.strip().split(','))
f.close()
# ①
for i in a:
    s = ''
    for j in i:
        # ②
    print(s)

程序执行结果为:

[['王鑫', '86', '90', '92', '99', '94', '95'], ['杨小虹', '93', '97', '95', '90', '86', '85'], ['李静', '89', '98', '99', '94', '90', '85']]
王鑫       86      90      92      99      94      95      
杨小虹     93      97      95      90      86      85      
李静       89      98      99      94      90      85      
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
编辑模式
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析