跳至内容
菜单
此问题已终结

I created a python code with if else condition and if inside if. Isn't working. any one can help?

 

if (employee.x_exemption_status == "s"):
    if (categories.TAX > 2083) and (categories.TAX < 2500):
       result = (categories.TAX - 2083) * 0.05
    elif (categories.TAX > 9000) and (categories.TAX < 9100):
        result = (categories.TAX - 2083) * 0.05

 

 

形象
丢弃
相关帖文 回复 查看 活动
2
12月 24
2339
0
6月 20
3657
0
5月 23
3635
1
2月 20
3844
1
3月 18
4494