Unable to understand the mistake - Bit Mask


I am facing issue as mentioned in the screenshot. I am getting correct output for check_bit4(0b0). Still it is giving error. I am unable to understand the mistake. Can you please guide me?

The Man Behind the Bit Mask

I am seeing the same issue :frowning:


Dont print "on" or "off", but return it!
The error-message explains it very well :smile:


yes, just got it when doing next exercise :smile: