Commit 07d5e87c by BellCodeEditor

save project

parent 5c9a2951
Showing with 10 additions and 3 deletions
a={'语文':91,'数学':88,'英语':85} a={'语文':91,'数学':88,'英语':85}
b={'语文':100,'数学':62,'英语':95} b={'语文':100,'数学':62,'英语':95}
c={'语文':98,'数学':24,'英语':100} c={'语文':98,'数学':24,'英语':100}
score = {'悟空':a,'诺伊':b,'穷大':c} score = {'悟空':a,'诺伊':b,'穷大':c}
for a,b in : while True :
print(a) name=input('输入名字:')
if name in score:
for a,b in score.items():
print(a,b)
else:
print('输入错误')
continue
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