def sont_coplan(x1, y1, z1, x2, y2, z2, x3, y3, z3): d = .............. if .............. : return .............. else: return ..............