interest=int(input("请输入当月的利润i:"))
if interest <= 100000:
bonus = interest*0.1
elif interest <= 200000:
bonus =100000*0.1+(interest-100000)*0.075
elif interest <=400000:
bonus =100000*0.1+100
Python练习题2
最新推荐文章于 2020-12-18 15:05:16 发布