def addBinary(a: str, b: str) -> str: a_num = int(a, 2) b_num = int(b, 2) result = a_num + b_num return (bin(result)[2:]) print(addBinary('1010', '1011'))