What is the output of the following code ?
>>> a = 13 >>> b = 14 >>> a & b
9
10
11
12
& is bitwise AND operator.
The binary form of 13 is '1101' and 14 is '1110' .
So bit wise AND will give '1100' which is nothing but 12
Comment here: