Commit ce373c2d by BellCodeEditor

save project

parent b013d1c2
Showing with 4 additions and 0 deletions
...@@ -13,8 +13,12 @@ while True : ...@@ -13,8 +13,12 @@ while True :
if name in score: if name in score:
a = score[name] a = score[name]
print('*'*30) print('*'*30)
s=0
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
s=s+v
print(name+"的总成绩是"+str(s))
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