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
2313
0
jun 20
3615
0
may 23
3611
1
feb 20
3838
1
mar 18
4488