Commit 756c710a by BellCodeEditor

auto save

parent ed4d54fa
Showing with 17 additions and 0 deletions
s1={"math":90,"chi":98,"english":99}
s2={"math":91,"chi":96,"english":99}
s3={"math":94,"chi":95,"english":98}
score={"宋小宝":s1,"王小蛋":s2,"陈小美":s3}
while True:
name=input("请输入你要查询的名字:")
if name in score:
print("-"*30)
a=score[name]
for k,v in a.items():
print(k,v)
continue
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