Commit 8995c07e by BellCodeEditor

save project

parent 83b73772
Showing with 15 additions and 0 deletions
seort={'小明':77,'老王':100,'小张':58,'小美':86}
k=input('大帅比,你叫什么:')
v=input('嗷~那多少分啊:')
if k in seore:
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