def Droite(x,y,z): r=x-2 s=y t=z+1 if r==s/2 and r==t/4: bool=True else: bool=False return bool