(self, other)
return _norm(*self.coefficients) == _norm(*other.coefficients)
Return True if self and other are contained in the same line.

        Examples
        ========

        >>> from sympy import Point, Line
        >>> p1, p2, p3 = Point(0, 1), Point(3, 4), Point(2, 3)
        >>> l1 = Line(p1, p2)
        >>> l2 = Line(p1, p3)
        >>> l1.is_similar(l2)
        True
Return True if self and other are contained in the same line.
Return True if self and other are contained in the same line .
def is_similar(self, other):
        """
        Return True if self and other are contained in the same line.

        Examples
        ========

        >>> from sympy import Point, Line
        >>> p1, p2, p3 = Point(0, 1), Point(3, 4), Point(2, 3)
        >>> l1 = Line(p1, p2)
        >>> l2 = Line(p1, p3)
        >>> l1.is_similar(l2)
        True
        """
        def _norm(a, b, c):
            if a != 0:
                return 1, b/a, c/a
            elif b != 0:
                return a/b, 1, c/b
            else:
                return c
        return _norm(*self.coefficients) == _norm(*other.coefficients)
def is_similar ( self , other ) : def _norm ( a , b , c ) : if a != 0 : return 1 , b / a , c / a elif b != 0 : return a / b , 1 , c / b else : return c return _norm ( * self . coefficients ) == _norm ( * other . coefficients )