Commit a71d394e by BellCodeEditor

save project

parent 6a980f48
Showing with 12 additions and 0 deletions
score={'西西':98,'依依':112,'七七':115}
k=input('你叫什么名字')
v=input('你的成绩是多少')
if k in score:
if int(v)>score[k]:
score[k]=int(v)
if score[k]>int(v):
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