判断题

在Python中,可以使用下面代码读取文件中的数据到列表。

f = open('city.csv','r')

name = f.read().strip('\n').split(';')

f.close()

A

正确

B

错误

赣ICP备20007335号-2