コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4130 ビュー

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
2684
0
6月 20
3938
0
5月 23
3961
1
2月 20
4114
1
3月 18
4745