Commit 4ea55056 by BellCodeEditor

auto save

parent fd552419
Showing with 3 additions and 1 deletions
...@@ -7,8 +7,10 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -7,8 +7,10 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
name= input("名字:") name= input("名字:")
if name in score: if name in score:
info=score[name] info=score[name]
for i,b in info.items(): for i,b in info.items():
print(i,b) print(i,b)
print("*"*30)
else: else:
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