其实我一直在用python3学习的 求高手解答
>>> d = { 'Adam': 95, 'Lisa': 85, 'Bart': 59, 'Paul': 74 }
>>> print(d.values())
dict_values([85, 74, 59, 95])
>>> for i in d.values():
s=s+i
>>> print(s)
626
>>> d = { 'Adam': 95, 'Lisa': 85, 'Bart': 59, 'Paul': 74 }
>>> print(d.values())
dict_values([85, 74, 59, 95])
>>> for i in d.values():
s=s+i
>>> print(s)
626
2015-12-30
举报