在Python中,可以使用下面代码读取文件中的数据到列表。
f = open('city.csv','r')
name = f.read().strip('\n').split(';')
f.close()
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析