From e6c02e1a34f8fdb7f77131ce38171547e77a3bc4 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Thu, 29 Jul 2021 17:40:34 +0800 Subject: [PATCH] auto save --- diy2.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/diy2.py b/diy2.py index efdccd9..6b7d0f7 100644 --- a/diy2.py +++ b/diy2.py @@ -1,6 +1,6 @@ score = {'语文':91,'数学':88,'英语':85} -for k,v in score.items() +for k,v in score.items(): # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 -for k in score.keys() -for v in score.values() -print(score) \ No newline at end of file +# for k in score.keys(): +# for v in score.values(): + print(k,v) \ No newline at end of file -- libgit2 0.25.0