Commit e2d8a6c2 by BellCodeEditor

auto save

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