hello!, i dont understand the whole example shown here, the example says:
num = 0b1100 mask = 0b0100 desired = num & mask if desired > 0: print "Bit was on"
"In the example above, we want to see if the third bit from the right is on."
i don't understand exactly from what point i have to start counting the third bit from the right, is it after the
0b or counting from the very beginning including the
thanks for the answers