From ac3e79d6b5acde856ff5605a72f59d75dc15607d Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 23 May 2021 14:36:20 +0800 Subject: [PATCH] save project --- diy2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/diy2.py b/diy2.py index 60141ad..cc1da54 100644 --- a/diy2.py +++ b/diy2.py @@ -1,4 +1,7 @@ score = {'语文':91,'数学':88,'英语':85} +for k,t in score.items(): + print(k,t) + # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 -- libgit2 0.25.0