Commit 36a9afc4 by BellCodeEditor

save project

parent 314b488d
Showing with 3 additions and 3 deletions
...@@ -2,14 +2,14 @@ score={'a':88,'b':88,'c':98,'d':83} ...@@ -2,14 +2,14 @@ score={'a':88,'b':88,'c':98,'d':83}
k=input('名字') k=input('名字')
v=input('成绩') v=input('成绩')
if k in score: if k in score:
if score[k]<int(v): if int(v)>score[k]:
score[k]=int(v) score[k]=int(v)
print(k+'成绩'+v+'分') print(k+'成绩'+v+'分')
else: else:
print("未刷新") print("未刷新")
else: else:
score[k]=int(v) print(k+'已上传')
print("以上传")
......
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