Commit 07d710e7 by BellCodeEditor

auto save

parent d29132c7
Showing with 3 additions and 0 deletions
...@@ -4,7 +4,10 @@ student3 = {'语文': 95, '数学': 100, '英语': 93} ...@@ -4,7 +4,10 @@ student3 = {'语文': 95, '数学': 100, '英语': 93}
score = {'悟空': student1, '诺依': student2, '小贝': student3} score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True : while True :
print("按下q键退出")
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