在pycharm中都是可以运行正确的,第一种在慕课中输出正确但是系统一直不给过是什么情况
d = {
95:"Adam",
85:"Lisa",
59:"Bart"
}
print d.get(95)+":95,"
print d.get(85)+":85,"
print d.get(59)+":59,"
# print (d.get(95)+":95,\n"+d.get(85)+":85,\n"+d.get(59+":59,")
这是第二种方式输出,在pycharm中可以出来,这里出不了