Commit 1ae8865b by BellCodeEditor

auto save

parent f0f768a3
Showing with 3 additions and 2 deletions
......@@ -8,10 +8,11 @@ name = input("名字:")
# 查询并打印出输入的名字对应的所有科目的成绩
if name in score:
d = score[name]
for k,v in d.items():
print(k,v)
else:
print("没有这个学生")
for k,v in d.items():
print(k,v)
for k in d.keys():
......
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