Commit 43396dd4 by BellCodeEditor

save project

parent a6f85bf6
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,7 +5,7 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True: while True:
print("查询名字/请输入q退出") print("查询名字/请输入q退出")
name=input("请输入名字") name=input("请输入名字")
if name for score: if in name for score:
print("*"*30) print("*"*30)
for k,v in score[name].items() for k,v in score[name].items()
print("*"*30) print("*"*30)
......
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