Commit fed81e0f by BellCodeEditor

save project

parent 3d0da680
Showing with 9 additions and 0 deletions
score={'小张':80,'小徐':81}
k=input('输入名字:')
v=input('输入成绩:')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
else:
score[k]=int(v)
print(score)
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