Commit e1e57f7d by BellCodeEditor

save project

parent d4c8d0e8
Showing with 2 additions and 0 deletions
...@@ -9,6 +9,8 @@ print(score['wukong']['数学']) ...@@ -9,6 +9,8 @@ print(score['wukong']['数学'])
# 查询并打印出输入的名字对应的所有科目的成绩 # 查询并打印出输入的名字对应的所有科目的成绩
while True : while True :
name = input("名字:") name = input("名字:")
if name == 'q':
break
if name in score : if name in score :
a = score[name] a = score[name]
print('*'*30) print('*'*30)
......
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