Commit 50abe832 by BellCodeEditor

save project

parent a2b6ac1f
Showing with 2 additions and 7 deletions
...@@ -5,13 +5,8 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,13 +5,8 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
a = input("名字:") a = input("名字:")
print("*"*50) for b,c in score[a].items():
if a in score: print(b,c)
for b,c in score[a].items():
print(b,c)
else:
print(a+"是谁??")
print("*"*50)
......
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