From b22f5c56b993619e3c04d7f1fa40de5e68b0d4f1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 26 Dec 2021 11:25:56 +0800 Subject: [PATCH] save project --- diy2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/diy2.py b/diy2.py index 60141ad..c4608b1 100644 --- a/diy2.py +++ b/diy2.py @@ -1,5 +1,6 @@ score = {'语文':91,'数学':88,'英语':85} # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 - - +score.items() +for k,v in score.items(): + print(k,v) \ No newline at end of file -- libgit2 0.25.0