Commit 55202163 by BellCodeEditor

save project

parent 3e7c021e
Showing with 8 additions and 7 deletions
...@@ -5,13 +5,14 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,13 +5,14 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
name = input("名字:") name = input("名字:")
while True:
if name in score: if name in score:
print('******************************') print('******************************')
for k,v in score[name].items(): for k,v in score[name].items():
print(k,v) print(k,v)
else: else:
print('盖亚!!!') print('盖亚!!!')
break
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