human
Numbers formed by flipping common set bits in two given integers | Function to flip bits of A and B which are set in both of them.
Iterate all possible bits of A and B.
If ith bit is set in both A and B.
Clear i - th bit of A.
Clear i - th bit of B.
Print A and B.
Driver Code"
Solution in Python:

=====
Give me a code to numbers formed by flipping common set bits in two given integers and the other steps required?
assistant
#Here is code to numbers formed by flipping common set bits in two given integers and the other steps required.
 def flipBitsOfAandB ( A , B ) :
	for i in range ( 0 , 32 ) :
		if ( ( A & ( 1 << i ) ) and ( B & ( 1 << i ) ) ) :
			A = A ^ ( 1 << i )
			B = B ^ ( 1 << i )
	print ( A , B )
if __name__ == " _ _ main _ _ " :
	A = 7
	B = 4
	flipBitsOfAandB ( A , B )