結果 : raise exception in if statement python