Source Code:
(back to article)
a = 5 # binary: 0000 0101 b = 3 # binary: 0000 0011 c = a & b print(c) # Output: 1
Result:
Report an issue