Commit 7c92a84a by BellCodeEditor

save project

parent 1bc7ca68
Showing with 11 additions and 4 deletions
...@@ -5,11 +5,18 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,11 +5,18 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
name = input("名字:") name = input("名字:")
if name in score: while true():
for k,v in score[name].items(): if name in score:
print(k,v) for k,v score[name].items:
elif:
if print(q):
break
else: else:
print("请重新输入名字") 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