結果 : if statement inside try python