下述代码的功能是读取文件中的数据到列表。( )
file=open('fruits.csv','r') name=file.read().strip('\n').split(',') file.close()
正确
错误