human
Odious number | Function to get no of set bits in binary representation of passed binary no . Please refer below for details of this function : https : www . geeksforgeeks . org / count - set - bits - in - an - integer.
Check if number is odious or not.
Driver Code"
Solution in Python:

=====
Write me a code to odious number and the other steps required?
assistant
#Here is code to odious number and the other steps required.
 def countSetBits ( n ) :
	count = 0
	while ( n ) :
		n = n & ( n - 1 )
		count = count + 1
	return count
def checkOdious ( n ) :
	return ( countSetBits ( n ) % 2 == 1 )
num = 32
if ( checkOdious ( num ) ) :
	print ( " Yes " )
else :
	print ( " No " )