You are viewing a single comment's thread. Return to all comments →
In Python 3:
def flippingBits(n): x = int('0b11111111111111111111111111111111', base=0) return x^n
Seems like cookies are disabled on this browser, please enable them to open this website
Flipping bits
You are viewing a single comment's thread. Return to all comments →
In Python 3: