Commit 63796e7a by BellCodeEditor

save project

parent a45cdd07
Showing with 3 additions and 0 deletions
...@@ -7,8 +7,11 @@ while True: ...@@ -7,8 +7,11 @@ while True:
name = input("名字:") name = input("名字:")
print('*'*20) print('*'*20)
if name in score: if name in score:
z=0
for k,v in score[name].items(): for k,v in score[name].items():
print(k,v) print(k,v)
z+=v
print(z)
elif name=="q": elif name=="q":
break break
else: else:
......
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