diff --git a/diy1.py b/diy1.py index 6e82198..b970d44 100644 --- a/diy1.py +++ b/diy1.py @@ -2,4 +2,6 @@ dict_hero={'猴三':10,'猴一':21,'猴队长':29,'猴七':30} print(dict_hero) print(dict_hero{'猴队长'}) dict_hero=['猴七']=32 +print(dict_hero) +dict_hero['猴是']=25 print(dict_hero) \ No newline at end of file