Commit abb9f918 by BellCodeEditor

save project

parent 8ec1bea1
Showing with 9 additions and 2 deletions
...@@ -5,5 +5,12 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,5 +5,12 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
for k,v in score.items():
print(k,v) name=input("你叫啥")
if name in score:
m=score['小贝']
for k,v in score.items():
print(k,v)
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