Commit 95c78709 by BellCodeEditor

save project

parent a436d576
Showing with 8 additions and 0 deletions
......@@ -7,9 +7,17 @@ while True:
name = input("名字:")
if name in score:
info = score[name]
print("*" * 15)
print("")
for k,v in info.items():
print(k,v)
print("")
print("*" * 15)
else:
print("*" * 15)
print("")
print(f"没有找到{name}同学,请重新输入")
print("")
print("*" * 15)
# 查询并打印出输入的名字对应的所有科目的成绩
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