From 8f876e913abb9bf2ce85e9a48f756173da807e36 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Mon, 16 Sep 2024 14:48:13 +0800 Subject: [PATCH] save project --- diy2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diy2.py b/diy2.py index baac568..2a3b36c 100644 --- a/diy2.py +++ b/diy2.py @@ -2,6 +2,6 @@ score = {'语文':91,'数学':88,'英语':85} # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 - -for k ,v in score.items(): +info=score[key] +for k ,v in info.items(): print(k,v) -- libgit2 0.25.0