From dd9faa55d4bdd1c52828a98aa7e79695cc6f13ac Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 7 May 2022 23:01:12 +0800 Subject: [PATCH] auto save --- quiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quiz.py b/quiz.py index 609b068..1398126 100644 --- a/quiz.py +++ b/quiz.py @@ -4,5 +4,5 @@ monster = {'盘丝洞':'蜘蛛精','白骨洞': '白骨精','大雁塔':'花妖 # 打印出大雁塔 print(area[3]) # 向字典中添加 '地府':'僵尸' -monster.append('地府','僵尸') +monster.('地府')='僵尸' print(monster) \ No newline at end of file -- libgit2 0.25.0