human
Detect if two integers have opposite signs | Function to detect signs.
Driver Code"
Solution in Python:
 ... Write me a code to detect if two integers have opposite signs and the other steps required?
assistant
#Here is code to detect if two integers have opposite signs and the other steps required.
 def oppositeSigns ( x , y ) :
	return ( ( x ^ y ) < 0 ) ;
x = 100
y = 1
if ( oppositeSigns ( x , y ) == True ) :
	print " Signs ▁ are ▁ opposite "
else :
	print " Signs ▁ are ▁ not ▁ opposite "