Commit 6d908797 by BellCodeEditor

auto save

parent c0c977c5
Showing with 2 additions and 6 deletions
...@@ -9,12 +9,8 @@ while True: ...@@ -9,12 +9,8 @@ while True:
break break
if name in score: if name in score:
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
else: else:
print("输的不对") print("输的不对")
name = input("名字:") name = input("名字:")
a=score[name]
for k,v in a.items():
print(k,v)
# 查询并打印出输入的名字对应的所有科目的成绩
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