Commit 38ae13ab by BellCodeEditor

save project

parent 83b73772
Showing with 11 additions and 0 deletions
score={'小李':88,'小亮':59,'小张':99,'小官':100}
k=input('输入名字:')
v=input('输入成绩:')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
else:
print('不刷新')
else:
score[k]=int(v)
print(score[k])
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