結果 : python raise exception on condition