Commit 52a76727 by BellCodeEditor

save project

parent 4b5943fb
Showing with 17 additions and 3 deletions
dict_hero ={"对象":40,"静慧":410,"你妈":999999999,"你爸":9999999,"贞子":70,"闺蜜":1234891942491490408010940480240,}
in"你妈"if
print(dict_hero["你妈"])
jk ={'刘德华':67.5,'王一博':98,'范丞丞':91.2,'易烊千玺':100,'王源':78.5,'黄明浩':88,'周杰伦':87}
k=input('请输入你的名字:')
v=input('请输入你的最新成绩:')
if k in jk:
if int(v)>jk[k]:
jk[k]=int(v)
print('亲爱的'+k+'大帅B,恭喜您,成绩已更新为'+v+'分')
else:
print('亲爱的'+k+'大帅B,对不起,您成绩太高了,无法输出/(ㄒoㄒ)/~~')
else:
jk[k]=int(v)
print('亲爱的'+k+'大帅B,您的成绩'+v+'分已上传')
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