On Tue, Nov 23, 2010 at 9:52 PM, Wayne Werner <[email protected]> wrote: >> > >> > Did you try bitwise-and with 1? >> >> What's that? > >>>> 2 & 1 > 0 >>>> 3 & 1 > 1 >>>> 10 & 1 > 0 >>>> 11 & 1 > 0
That last one should be 1, I'd say. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
