human
Find two vertices of an isosceles triangle in which there is rectangle with opposite corners ( 0 , 0 ) and ( X , Y ) | Function to find two vertices of an isosceles triangle in which there is rectangle with opposite side ( 0 , 0 ) and ( x , y ).
Required value.
.
print x1 and y1.
print x2 and y3.
Driver code.
Function call"
Solution in Python:

Can you provide a code to find two vertices of an isosceles triangle in which there is rectangle with opposite corners ( 0 , 0 ) and ( X , Y ) and the other steps required?
assistant
#Here is code to find two vertices of an isosceles triangle in which there is rectangle with opposite corners ( 0 , 0 ) and ( X , Y ) and the other steps required.
 def Vertices ( x , y ) :
	val = abs ( x ) + abs ( y ) ;
	if x < 0 :
		x = - 1
	else :
		x = 1
	print ( val * x , "0" , end = " ▁ " ) ;
	if y < 0 :
		y = - 1
	else :
		y = 1
	print ( "0" , val * y ) ;
if __name__ == " _ _ main _ _ " :
	x = 3 ; y = 3 ;
	Vertices ( x , y ) ;