Computer Science, asked by narendra78921, 1 month ago

Add two numbers without using "+" Operator. ( Python)​

Answers

Answered by uditsambyal133
0

Answer:

23-123=100

Explanation:

i hope it will help you

Answered by 9355abhishek
0

Explanation:

def add_without_plus_operator(a, b):

while b != 0:

data = a & b

a = a ^ b

b = data << 1

return a

print(add_without_plus_operator(2, 10))

print(add_without_plus_operator(-20, 10))

print(add_without_plus_operator(-10, -20))

Similar questions