Commit 37df1775 by BellCodeEditor

save project

parent c4fc140f
Showing with 12 additions and 0 deletions
score={'BOB':100,'臻臻':25,'菠萝':85,'大海':90}
k=input('输入姓名:')
v=input('输入最新成绩:')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
print(k+'同学,成绩已刷新为'+v+'分。')
else:
print(k+'同学,成绩未刷新。')
else:
score[k]=int(v)
print(k+'同学,第一次成绩'+v+'分已上传')
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