From 31d7a515687ff34125f61abd899ffa329de1eaf2 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 26 Apr 2025 13:46:23 +0800 Subject: [PATCH] save project --- diy2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/diy2.py b/diy2.py index add64b9..d1cb13e 100644 --- a/diy2.py +++ b/diy2.py @@ -1,5 +1,4 @@ score = {'语文':91,'数学':88,'英语':85} -for k,v in dict items() +for k,v in score items(): # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 -dict.items() print((k,v)) \ No newline at end of file -- libgit2 0.25.0