Commit c6732a9a by BellCodeEditor

save project

parent fa0d87f5
Showing with 3 additions and 1 deletions
......@@ -5,7 +5,9 @@ score={"谢坤辰":student1,"于潇然":student2,"丸子老师":student3}
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
while True:
name=input("你他妈想查谁成绩???")
if name in score:
w=score[name]
for s,k in w.items():
print(s,k)
else:
print("这人TM不存在!!!!!!!!!!!***********************!!!SB!!!!!!")
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