Commit 3ec8db15 by BellCodeEditor

save project

parent d15371c0
Showing with 13 additions and 0 deletions
score={'ming':77,'wang':86,'zhang':58,'mei':100,'ding':42}
k=input("你谁")
v=input("几分?")
if k in score:
if int(v)>score[k]:
score[k]=int(v)
else:
del(score)
else:
score[k]=int(v)
print(k+v)
print(score)
\ No newline at end of file
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