diff --git a/diy1.py b/diy1.py index b6ff5f7..97905c1 100644 --- a/diy1.py +++ b/diy1.py @@ -10,3 +10,8 @@ for i in range(len(list_hero)): print(list_hero) dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} print(dict_hero) +prints(dict_hero['猴队长']) +dict_hero['猴七']=32 +print(dict_hero) +dict_hero['猴十']=25 +print(dict_hero) \ No newline at end of file