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