Commit 2d5e2878 by BellCodeEditor

save project

parent 4f9ef074
Showing with 2 additions and 1 deletions
......@@ -10,7 +10,7 @@ while True:
name = input("名字:")
if name in score:
print("*"*30)
info = score[name]
score = score[name]
for k,v in score.items():
print(k,v)
print("*"*30)
......@@ -18,5 +18,6 @@ while True:
break
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