我相信这一切都与缩进有关,但我不确定如何准确缩进,请帮助我。
import csv
with open('abbreviations.csv', mode='r') as infile:
reader = csv.reader(infile)
with open('abbreviations_new.csv', mode='w') as outfile:
writer = csv.writer(outfile)
mydict = {rows[0]:rows[1] for rows in reader}
print(len(mydict))
print(mydict['v'])
mydict['MIS'] = 'Management Information System'
print(mydict['TA'])
mydict['TA'] = 'teaching assistant'
print(mydict['TA'])
print(mydict['flower'])
del mydict['flower']
元芳怎么了
呼啦一阵风
鸿蒙传说
随时随地看视频慕课网APP
相关分类