哪里出错了??
d = {
'Adam': 95,
'Lisa': 85,
'Bart': 59
}
for key in ['Adam','Lisa','Bart']:
if (d.get(key)==95):
print key
为什么错误???
d = {
'Adam': 95,
'Lisa': 85,
'Bart': 59
}
for key in ['Adam','Lisa','Bart']:
if (d.get(key)==95):
print key
为什么错误???
2017-01-22
举报