結果 : python define function with if else