Commit 4188cb42 by BellCodeEditor

save project

parent dd0ca1b6
Showing with 11 additions and 2 deletions
......@@ -4,6 +4,15 @@ s3={'c':103,'m':105,'e':108}
score={'Lucas':s1,'tom':s2,'Sam':s3}
name=input("名字:")
info=score[name]
for k,v in info.items():
print("*"*30)
if name in score:
score=score[name]
for k,v in score.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