Flipping bits

  • + 0 comments

    in python:

    def flippingBits(n): return 2**32-n-1