diy2.py 172 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} print(dict_hgero) print(dact_hero['猴队长']) dict_hero['猴七']=32 print(dict_hero)