Mike Wyer <mike / wyer.org> wrote 
> Your odd? definition returns true for all ints.
> All integers are 0 modulo 1.
> 
> You want self % 2 == 1:
> 

Oh, sorry, you're right.
It's my mistake.

kwatch