human
Check whether the binary equivalent of a number ends with "001" or not | Function to check if binary equivalent of a number ends in "001" or not.
To check if binary equivalent of a number ends in "001" or not.
Driver code"
Solution in Python:

What is a code to check whether the binary equivalent of a number ends with "001" or not and the other steps required?
assistant
#Here is code to check whether the binary equivalent of a number ends with "001" or not and the other steps required.
 def CheckBinaryEquivalent ( N ) :
	return ( N - 1 ) % 8 == 0 ;
if __name__ == " _ _ main _ _ " :
	N = 9 ;
	if ( CheckBinaryEquivalent ( N ) ) :
		print ( " Yes " ) ;
	else :
		print ( " No " ) ;