Commit 1f978107 by BellCodeEditor

save project

parent 13ca97b5
Showing with 1 additions and 2 deletions
...@@ -4,8 +4,7 @@ student3 = {'语文': 95, '数学': 100, '英语': 93} ...@@ -4,8 +4,7 @@ student3 = {'语文': 95, '数学': 100, '英语': 93}
student4 = {'语文': '无数', '数学': '无数', '英语': '无数'} student4 = {'语文': '无数', '数学': '无数', '英语': '无数'}
score = {'悟空': student1, '诺依': student2, '小贝': student3, '冯皓南': student4} score = {'悟空': student1, '诺依': student2, '小贝': student3, '冯皓南': student4}
while True : while True :
print('按“P”退出程序') name = input('请输入姓名,推出请按“P”:')
name = input('请输入姓名:')
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