Just Flip Out


#1


Error: "Oops, try again. Make sure your answer is a binary string."

I'm wondering why this isn't working. The error message also makes no sense, since I used bin() to print the binary


a = 0b11101110
mask = 0b00010001
desired = a ^ mask
print bin(desired)


#2

Compare your result to what the instructions describe should happen
The submission test checks if the right answer is printed and otherwise produces the message that you got


#3

Thank you ionatan. Didn't read it carefully enough I guess.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.