Commit 27b3eca3 by BellCodeEditor

save project

parent 3ff3f1fd
Showing with 7 additions and 7 deletions
......@@ -2,15 +2,15 @@ student1 = {'语文': 0, '数学': 59.9999999999, '英语': 0}
student2 = {'语文': 100, '数学': 100, '英语': 100}
student3 = {'语文': 59, '数学': 0, '英语': 83}
score = {'悟空': student1, '诺依': student2, '小贝': student3}
key1 = {'wk'}
key2 = {'nyy~~~~^-^'}
key3 = {'xb'}
keys = {'悟空': key1, '诺依': key2, '小贝': key3}
# key1 = 'wk'
# key2 = 'nyy~~~~^-^'
# key3 = 'xb'
# keys = {'悟空': key1, '诺依': key2, '小贝': key3}
while True:
print('请输入姓名与密码,退出查询请按q~')
print('请输入姓名,退出查询请按q~')
name=input('查询姓名:')
key=input('密码:')
if name in score and key in keys:
# key=input('密码:')
if name in score:
info=score[name]
print('*'*30)
for k,v in info.items():
......
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