Commit e908b411 by BellCodeEditor

save project

parent dda6577f
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ name = input("名字:") ...@@ -6,7 +6,7 @@ name = input("名字:")
if name in score: if name in score:
res=score[name] res=score[name]
for k , v in res.items(): for k , v in res.items():
print(k,v) print(k,v)
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
else: else:
print(":(查询错误:(") print(":(查询错误:(")
......
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