A friend and I are going back and forth with brain-teasers and I have no idea how to solve this one. My assumption is that it\'s possible with some bitwise operators, but n
In python using bitwise operators:
def sum_no_arithmetic_operators(x,y): while True: carry = x & y x = x ^ y y = carry << 1 if y == 0: break return x