From 3ddc003fa9800f53a12f9dc616463ed81ba72821 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 2 Jan 2022 09:28:04 +0800 Subject: [PATCH] save project --- diy2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diy2.py b/diy2.py index 60141ad..53c5127 100644 --- a/diy2.py +++ b/diy2.py @@ -1,5 +1,7 @@ score = {'语文':91,'数学':88,'英语':85} # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 +for i,r in score.items(): + print(i,r) -- libgit2 0.25.0