Commit ee2b1e8a by BellCodeEditor

save project

parent 6ceb20da
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ score={"悟空":students1,"诺伊":students2,"小贝":students3} ...@@ -6,7 +6,7 @@ score={"悟空":students1,"诺伊":students2,"小贝":students3}
name=input("名子:") name=input("名子:")
if name in score: if name in score:
score=score[name] score=score[name]
for k,v in score.items() for k,v in score.items():
print(k,v) print(k,v)
eise: eise:
print("查询错误,请输入正确的名子")) 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