On 5/22/2011 5:57 PM, Thomas 'PointedEars' Lahn wrote:
Stef Mientki wrote:

must of us will not use single bits these days,
but at first sight, this looks funny :

a=2
b=6
a and b
6
a&  b
2
a or b
2
a | b
6

Change the order of the operands and see what happens.

or change a,b to 1,2


--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to