Commit fdfadb91 by BellCodeEditor

save project

parent 4400b77d
Showing with 5 additions and 0 deletions
...@@ -6,9 +6,14 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -6,9 +6,14 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
while True: while True:
name=input("姓名?") name=input("姓名?")
if name in score: if name in score:
print("*"*30)
a=score[name] a=score[name]
for i,k in a.items(): for i,k in a.items():
print(i,k) print(i,k)
print("*"*30)
elif name=="q":
print("结束")
break
else: else:
print("cw") print("cw")
......
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