Commit c1fe9ad2 by BellCodeEditor

save project

parent fdf4ea81
Showing with 2 additions and 6 deletions
...@@ -10,10 +10,6 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -10,10 +10,6 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True: while True:
name=input('名字') name=input('名字')
if name in score: if name in score:
info=score[name] a=score[name]
for k,v in info.items():
print(k,v)
elif name=="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