def egalitevect2(xA,yA,xB,yB,xC,yC,xD,yD):
    x1=xB-xA
    y1=yB-yA
    x2=xD-xC
    y2=yD-yC
    if  x1==x2 and y1==y2:
        print("les vecteurs sont égaux")
    else:
        print("les vecteurs ne sont pas égaux")

xA=float(input("xA=?"))
yA=float(input("yA=?"))
xB=float(input("xB=?"))
yB=float(input("yB=?"))
xC=float(input("xC=?"))
yC=float(input("yC=?"))
xD=float(input("xD=?"))
yD=float(input("yD=?"))
egalitevect2(xA,yA,xB,yB,xC,yC,xD,yD)