Commit 1ecd47e6 by BellCodeEditor

save project

parent 068d0182
Showing with 14 additions and 0 deletions
cost={'小米':90,'昊':9,'小何':1,'小年':0,'恒米':39,}
cost={'小米':90,'昊':9,'小何':1,'小年':0,'恒米':39,}
k=input('请输入名字')
v=int(input('请输入你的成绩'))
if k in cost:
if v>cost[k]:
cost[k]=v
print("恭喜"+k+'同学'+'你的"好"成绩已改为'+str(v))
else:
print("你的'好'成绩没能刷新")
else:
cost[k]=v
print("恭喜你"+k+"同学,你的第一次成绩"+str(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