def Alignement(A,B,C): x1=B[0]-A[0] y1=B[1]-A[1] x2=C[0]-A[0] y2=C[1]-A[1] d=... if d==0: print("Points alignés") else: print("Points non alignés")