Python One Liner Solution To Add Binary Numbers


#1
def addBinary(self, A, B):
    return (bin(int(A,2) + int(B,2)).split('0b')[1])