Commit 01277f48 by BellCodeEditor

save project

parent 053fd827
Showing with 15 additions and 0 deletions
student1 = {'语文':99999999999999,'数学':99999999999999,'英语':99999999999999}
student2 = {'语文':0,'数学':-2,'英语':-10000000000000000000000000000000}
student3 = {'语文':91,'数学':88,'英语':54188}
score = {'关羽':student1,'傻蛋':student2,'蔡徐坤':student3}
name = input("名字:")
print("*" * 30)
if name in score:
score = score[name]
for k,v in score.items():
print(k,v)
print("*" * 30)
else:
print("查询错误,请输入正确的名字")
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
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