From 0b5d1e2cc6a367ff2d15d8729d78afd2779097d5 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 14 Dec 2021 17:49:19 +0800 Subject: [PATCH] save project --- diy1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index eabbd92..a9cb462 100644 --- a/diy1.py +++ b/diy1.py @@ -11,4 +11,6 @@ # 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典 dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} print(dict_hero) - +print(dict_hero['猴队长']) +dict_hero['猴七']=40 +print(dict_hero) -- libgit2 0.25.0