For this Question: Sara has an exam of geometry in which the following question is asked:-
Given three points A, B, and C. Check if there exists a point and an angle such that if we rotate the page around the point by the angle, the new position of A is the same as the old position of B, and the new position of B is the same as the old position of C.The first line of input contains the position of A(Ax, Ay). The second line of input contains the position of B(Bx, By). The third line of input contains the position of C(Cx, Cy).

Constraints:-
|X|, |Y| <= 10^9Print "Yes" if there exists a point else print "No".Sample Input:-
0 1
1 1
1 0

Sample Output:-
Yes

Explanation:-
(0.5, 0.5) by 90

Sample Input:-
1 1 
0 0 
1000 1000

Sample Output:-
No, I have written this Solution Code: def possibleOrNot(a1, a2, b1, b2, c1, c2):
     
    
    dis1 = (pow(b1 - a1, 2) +
            pow(b2 - a2, 2))
    dis2 = (pow(c1 - b1, 2) +
            pow(c2 - b2, 2))
 
    if(dis1 != dis2):
        print("No")
         
    
    elif (b1 == ((a1 + c1) // 2.0) and
          b2 == ((a2 + c2) // 2.0)):
        print("No")
    else:
        print("Yes")
 

 
a1,a2= map(int,input().split())
b1,b2= map(int,input().split())
c1,c2= map(int,input().split())


possibleOrNot(a1, a2, b1, b2, c1, c2), In this Programming Language: Python, Now tell me if this Code is compilable or not?