結果 : python does not allow nested if statement true false