diff --git a/quiz.py b/quiz.py index 85aa09a..74a74d0 100644 --- a/quiz.py +++ b/quiz.py @@ -2,4 +2,5 @@ list_hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98] dict_hero = {'赵一':30,'丁二':37,'孙五':52,'王猛':89,'周亮':98} print(len(list_hero)) -print(len(dict_hero)) \ No newline at end of file +dict_hero['猴十']=25 +print(dict_hero) \ No newline at end of file