human
Find XOR of two number without using XOR operator | Returns XOR of x and y.
Driver Code"
Solution in Python:
assistant
#Here is code to find XOR of two number without using XOR operator and the other steps required.
 def myXOR ( x , y ) :
	return ( ( x y ) & ( ~ x ~ y ) )
x = 3
y = 5
print ( " XOR ▁ is " , myXOR ( x , y ) )