結果 : if error function in python