Commit d257fd75 by BellCodeEditor

save project

parent e6c9776a
Showing with 14 additions and 0 deletions
score={'小明':77,'小王':86}
k=input('姓名')
v=input('新成绩')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
print(k+'更新'+v)
else:
print('未')
else:
score[k]=int(v)
print(k+'第一次'+v)
\ 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