有如下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=',')
hello,I,
hello,world
I,you