Commit 910fdd5f by BellCodeEditor

save project

parent b8ee8a1f
Showing with 13 additions and 4 deletions
j=1 bellcode={'马克':96,'陈昱恒':100,'周子涵':91,'科比':100,'王子轩':98}
i= o=input("请输入你的姓名~")
print(j,'x',i,'=',(j*i)) m=input("请输入你的成绩~")
\ No newline at end of file if o in bellcode:
if int(m)>bellcode[o]
bellcode[o]=int(m)
print('同学'+o+',你成绩已更新为'+m+'分!')
else:
print('同学'+o+',你成绩未被刷新。')
else:
bellcode[o] = int(m)
print('同学'+o+',你第一次成绩'+m+'分!')
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