Commit fba52fd4 by BellCodeEditor

save project

parent 23321aaa
Showing with 11 additions and 0 deletions
cost={'小米':1,'小哥'2,'小了'5,'小编':9,'小丑':0,'上市':0,'Google':100,'苹果':50,'化为':1000}
cost={'小米':1,'小哥'2,'小了'5,'小编':9,'小丑':0,'上市':0,'Google':100,'苹果':50,'化为':1000}
k=input('请输入你的名字:')
v=input('请输入你的成绩:')
if k in cost:
if int(v)>cost[k]:
cost[k]=int(v)
print("成绩以更新")
else:
cost[k]=int(v)
print("你的成绩以插入")
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