Commit 50766152 by BellCodeEditor

save project

parent 7d95a9e8
Showing with 13 additions and 0 deletions
score= {'x':6,'xx':7,'xxx':9}
k=input('姓名')
v=input('成绩')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
print(k+'同学,你的成绩被刷新为'+v+'分')
else:
print(k+'同学,你的成绩未被刷新')
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