From 4876fad948e701526ab4560c529723986fc54f89 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 21 Aug 2022 10:56:35 +0800 Subject: [PATCH] save project --- diy1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 9e654e8..c9b8582 100644 --- a/diy1.py +++ b/diy1.py @@ -10,4 +10,4 @@ for i in range(len(list_hero)): print(list_hero) # 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典 dict_hero={'a':1,'b':2,'c':3,'d':4} -print(dict_hero[a]) +print(dict_hero['a']) -- libgit2 0.25.0