Commit 4d87f6c8 by BellCodeEditor

auto save

parent b7498cbe
Showing with 13 additions and 0 deletions
a={"张三":87,"李四":23,"王五":65}
b={"地方":87,"梵蒂冈":23,"电饭锅":65}
c={"覆盖":87,"二二":23,"儿童":65}
score={"悟空":a,"八戒":b,"唐僧":c}
while True:
d=input("请输入名字:")
if d in score:
f=score[d]
for k,v in f.items():
print(k,v)
break;
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