跳至內容
選單
此問題已被標幟
3804 瀏覽次數

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

 

 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
12月 24
2317
0
6月 20
3637
0
5月 23
3617
1
2月 20
3839
1
3月 18
4489