Commit 5b456b14 by BellCodeEditor

auto save

parent a649206d
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ newscore=input('新成绩:') ...@@ -4,7 +4,7 @@ newscore=input('新成绩:')
if name in score: if name in score:
if int(newscore)>score[name]: if int(newscore)>score[name]:
score[name]=int(newscore) score[name]=int(newscore)
print(name+',你的分数更新为:'+newscore) print(name+',你的分数更新为:'+newscore)
else: else:
print('分数未更新。') print('分数未更新。')
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