Unable to understand the mistake - Bit Mask


#1

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
#2

I am seeing the same issue :frowning:


#3

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


#4

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


#5