Commit dceb3415 by BellCodeEditor

auto save

parent 20161609
Showing with 12 additions and 0 deletions
score={'小王':89,'小张':76,}
k=input('请输入你的姓名')
v=input('请输入你的分数')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
print('分数更新为'+v+'分')
else:
print('未更新')
else:
score[k]=int(v)
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