Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 24
2275
0
jun 20
3575
0
may 23
3531
1
feb 20
3777
1
mar 18
4422