Commit 9f648fe1 by BellCodeEditor

save project

parent a9ce5c5d
Showing with 3 additions and 4 deletions
...@@ -8,7 +8,5 @@ name = input("名字:") ...@@ -8,7 +8,5 @@ name = input("名字:")
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
a=score[name] a=score[name]
for v in a.values(): for b,c in a.items():
for b,c in v.items(): print(b,c)
print(b,c) \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment