1 2 3 4 5 6 7
def find_Odd_Pair(A,N) : oddPair = 0 for i in range(0,N) : for j in range(i+1,N) : if ((A[i] ^ A[j]) % 2 != 0): oddPair+=1 return oddPair