Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

 

 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
2207
0
cze 20
3511
0
maj 23
3459
1
lut 20
3718
1
mar 18
4378