Commit 1a843850 by BellCodeEditor

save project

parent e86e41ae
Showing with 5 additions and 3 deletions
...@@ -3,5 +3,7 @@ k=input('请输入你的姓名:') ...@@ -3,5 +3,7 @@ k=input('请输入你的姓名:')
v=input('请输入你的最新成绩:') v=input('请输入你的最新成绩:')
if k in score: if k in score:
if int(v)>score[k]: if int(v)>score[k]:
score[k]=input(v) score[k]=int(v)
print('亲爱的'+k+'') print('亲爱的'+k+'')
\ No newline at end of file else:
print()
\ 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