>
masteringswe
_
Home
Why this works
Sign in
Start free
← Back to Python - Coding Interviews
Card 124 of 132
coding
python
Bit check - is bit i on
Print ‘on’ if bit i is turned on in binary number, mask.
Reveal Answer
← Bitwise AND
Left shift →