Skip to Content
Menu
This question has been flagged
3822 Zobrazenia

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

 

 

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
dec 24
2334
0
jún 20
3651
0
máj 23
3632
1
feb 20
3842
1
mar 18
4491