human
Give me a code to reflection of a point at 180 degree rotation of another point and the other steps required given the following:
Reflection of a point at 180 degree rotation of another point | Python3 Program for find the 180 degree reflection of one point around another point ..
Driver Code"
Solution in Python:
assistant
#Here is code to reflection of a point at 180 degree rotation of another point and the other steps required.
 def findPoint ( x1 , y1 , x2 , y2 ) :
	print ( " ( " , 2 * x2 - x1 , " , " , 2 * y2 - y1 , " ) " ) ;
x1 = 0 ;
y1 = 0 ;
x2 = 1 ;
y2 = 1 ;
findPoint ( x1 , y1 , x2 , y2 ) ;