Commit 86d4dae7 by BellCodeEditor

save project

parent 49588747
Showing with 73 additions and 0 deletions
dou=('小马':68,'小刘':98,'小肖':100'小气':45)
k=input('请输入你的名字。')
v=input('请输入你的最新成绩。')
if k in dou:
if int(v)>dou[k]:
dou[k]=int(v)
print('亲爱的'+k+'同学,恭喜你~成绩已更新为'+v+'分!')
else:
print('亲爱的'+k+'同学,遗憾地通知你,成绩为被刷新。')
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