求助!哪儿错了
d = { 'Adam': 95, 'Lisa': 85, 'Bart': 59, 'Paul': 74 } sum = 0.0 for score in d.itervalues(): sum+=score print sum/len(d)
d = { 'Adam': 95, 'Lisa': 85, 'Bart': 59, 'Paul': 74 } sum = 0.0 for score in d.itervalues(): sum+=score print sum/len(d)
2016-04-15
举报