human
Find the Number Occurring Odd Number of Times | function to find the element occurring odd number of times.
driver code.
Function calling"
How can the above be solved in Python?

Can you provide a code to find the Number Occurring Odd Number of Times and the other steps required?
assistant
#Here is code to find the Number Occurring Odd Number of Times and the other steps required.
 def getOddOccurrence ( arr , arr_size ) :
	for i in range ( 0 , arr_size ) :
		count = 0
		for j in range ( 0 , arr_size ) :
			if arr [ i ] == arr [ j ] :
				count += 1
		if ( count % 2 != 0 ) :
			return arr [ i ]
	return - 1
arr = [ 2 , 3 , 5 , 4 , 5 , 2 , 4 , 3 , 5 , 2 , 4 , 4 , 2 ]
n = len ( arr )
print ( getOddOccurrence ( arr , n ) )