csv文件中读入数据的程序段如下:
f=open("city.csv","r") ls=[] for line in f: ls.append( line.strip("\n") .split(",")) f.close() print(ls)
与划线处等同功能的语句是?( )
line.pop("\n")
line.del("\n")
line.remove("\n")
line.replace("\n","")