Commit 498d2862 by BellCodeEditor

save project

parent 5b24220e
Showing with 4 additions and 0 deletions
......@@ -6,12 +6,16 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True:
print("请输入名字,退出按键 q")
k=input("请输入名字:")
if k in score:
print("*"*30)
for i,j in score[k].items():
print(i,j)
print("*"*30)
elif k=="q":
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