Commit 45353699 by BellCodeEditor

save project

parent e69cd407
Showing with 11 additions and 4 deletions
score=('悟空':34,'小贝':100,'诺依':100
name=input("请输入要查询的名字")
print=("*"*"30)
if name in score
score=('悟空':34,'小贝':100,'诺依'123)
while True:
print("请输入要查询的名字,推出请输入q")
print=("*"*30)
if name in score
info=score["name"]
for k,v in info times():
print(k,v)
elif name=='q':
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