Commit d79b5f96 by BellCodeEditor

save project

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