Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3647 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 24
2164
0
čvn 20
3477
0
kvě 23
3425
1
úno 20
3679
1
bře 18
4342