結果 : python try with if statement