假设cai.csv文件内容如下图所示,那么下列代码的输出结果是?( )
f = open('cai.csv', 'r') c = [] for i in f: c.append(i.strip('\n').split(',')) f.close() print(c)
[['肉','15'],['白菜','8']]
['肉','15','白菜','8']
['肉','15'],['白菜','8']
'肉','15','白菜','8'