結果 : python program using nested if else