diff --git a/diy1.py b/diy1.py index f5d9d03..bd31f92 100644 --- a/diy1.py +++ b/diy1.py @@ -4,4 +4,5 @@ #list_hero=['猴三',10,'猴一',21,'猴五',22,'猴队长',29,'猴七',30] dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} -print(dict_hero) +dict_hero['猴队长']=32 +print(dict_hero['猴队长']) \ No newline at end of file