Commit 7a883925 by BellCodeEditor

save project

parent 712bb87b
Showing with 15 additions and 0 deletions
a={'语文':91,'数学':95,'英语':97}
b={'语文':81,'数学':85,'英语':87}
c={'语文':71,'数学':75,'英语':77}
d={'大壮':a,'小帅':b,'小美':c}
while True:
name=input('名字:')
if name in d:
print('*'*30)
e=d[name]
for k,v in e.items():
print(k,v)
print('*'*30)
else:
print('输入有误')
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