3 ms·
It seems to work in older Python versions (tested with 2.5). I think the new implementation is more natural: even%2 = 0, and 0 is false, while uneven%2 = 1, an
by hellrich 16y ago
It seems to work in older Python versions (tested with 2.5).
I think the new implementation is more natural:
even%2 = 0, and 0 is false, while uneven%2 = 1, and 1 is true.