4 ms·
That wouldn't work for the even parity case. "(x in odds) == expect_odd" gives the intended behaviour and I think is easier to read as well.
by bacon_waffle 6y ago
That wouldn't work for the even parity case.
"(x in odds) == expect_odd" gives the intended behaviour and I think is easier to read as well.