結果 : python if else return outside function