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

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
2326
0
6月 20
3646
0
5月 23
3629
1
2月 20
3839
1
3月 18
4490