@@ -0,0 +1,377 @@
+class Solution(object):%0A    def findComplement(self, num):%0A        %22%22%22%0A        :type num: int%0A        :rtype: int%0A        %22%22%22%0A        def change(i):%0A            if i == '0':%0A                return '1'%0A            return '0'%0A        %0A        l = ''%0A        print(bin(num)%5B2:%5D)%0A        for i in bin(num)%5B2:%5D:%0A            l += change(i)%0A        %0A        return int(l, 2)%0A        %0A

Solve #476