How can i sum two variables without using any arithmetic operator and third variable? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

How can i sum two variables without using any arithmetic operator and third variable?

Is it possible to add two variables without any arithmetic operator or the third variable...if yes post the code

29th Dec 2018, 2:25 PM
Bharat
Bharat - avatar
1 Respuesta
+ 2
Python: sum((a, b)). Or you could use a loop (in any language)
29th Dec 2018, 2:35 PM
Anna
Anna - avatar