i have a question on the bitwise AND output of two numbers.
Why is the bitwise AND of A, B = B? This is because this is different from expected result of sayexample:
print(A and B) = B
.print(2 and 5) = 5
0b110 & 0b111 = 6.
Confused as to why A and B, where A and B are numbers outputs B.
Appreciate the help.