def is_parallel(self, line2):
    '\n        What comes in:\n          -- self\n          -- another Line object (line2)\n        What goes out: Returns  True  if this Line is parallel to the\n          given Line (line2).  Returns  False  otherwise.\n            *** SEE THE IMPORTANT NOTE BELOW, re ROUNDING numbers.\n        Side effects: None.\n\n        Examples:\n            line1 = Line(Point(15, 30), Point(17, 50))  # slope is 10.0\n            line2 = Line(Point(10, 10), Point(15, 60))  # slope is 10.0\n            line3 = Line(Point(10, 10), Point(80, 80))  # slope is  7.0\n            line4 = Line(Point(10, 10), Point(10, 20))  # slope is inf\n\n            print(line1.is_parallel(line2))   # Should print: True\n            print(line2.is_parallel(line1))   # Should print: True\n            print(line1.is_parallel(line3))   # Should print: False\n            print(line1.is_parallel(line4))   # Should print: False\n            print(line1.is_parallel(line1))   # Should print: True\n            print(line4.is_parallel(line4))   # Should print: True\n\n        Type hints:\n          :type  line2: Line\n          :rtype: bool\n        '
    selfslopex = (self.end.x - self.start.x)
    line2slopex = (line2.end.x - line2.start.x)
    if (line2slopex == 0):
        if (line2slopex == selfslopex):
            return True
        else:
            return False
    if (selfslopex == 0):
        return False
    selfslope = ((self.end.y - self.start.y) / (self.end.x - self.start.x))
    line2slope = ((line2.end.y - line2.start.y) / (line2.end.x - line2.start.x))
    if (round(line2slope, 10) == round(selfslope, 10)):
        return True
    else:
        return False
What comes in:
  -- self
  -- another Line object (line2)
What goes out: Returns  True  if this Line is parallel to the
  given Line (line2).  Returns  False  otherwise.
    *** SEE THE IMPORTANT NOTE BELOW, re ROUNDING numbers.
Side effects: None.

Examples:
    line1 = Line(Point(15, 30), Point(17, 50))  # slope is 10.0
    line2 = Line(Point(10, 10), Point(15, 60))  # slope is 10.0
    line3 = Line(Point(10, 10), Point(80, 80))  # slope is  7.0
    line4 = Line(Point(10, 10), Point(10, 20))  # slope is inf

    print(line1.is_parallel(line2))   # Should print: True
    print(line2.is_parallel(line1))   # Should print: True
    print(line1.is_parallel(line3))   # Should print: False
    print(line1.is_parallel(line4))   # Should print: False
    print(line1.is_parallel(line1))   # Should print: True
    print(line4.is_parallel(line4))   # Should print: True

Type hints:
  :type  line2: Line
  :rtype: bool
def is_parallel(self, line2):
    '\n        What comes in:\n          -- self\n          -- another Line object (line2)\n        What goes out: Returns  True  if this Line is parallel to the\n          given Line (line2).  Returns  False  otherwise.\n            *** SEE THE IMPORTANT NOTE BELOW, re ROUNDING numbers.\n        Side effects: None.\n\n        Examples:\n            line1 = Line(Point(15, 30), Point(17, 50))  # slope is 10.0\n            line2 = Line(Point(10, 10), Point(15, 60))  # slope is 10.0\n            line3 = Line(Point(10, 10), Point(80, 80))  # slope is  7.0\n            line4 = Line(Point(10, 10), Point(10, 20))  # slope is inf\n\n            print(line1.is_parallel(line2))   # Should print: True\n            print(line2.is_parallel(line1))   # Should print: True\n            print(line1.is_parallel(line3))   # Should print: False\n            print(line1.is_parallel(line4))   # Should print: False\n            print(line1.is_parallel(line1))   # Should print: True\n            print(line4.is_parallel(line4))   # Should print: True\n\n        Type hints:\n          :type  line2: Line\n          :rtype: bool\n        '
    selfslopex = (self.end.x - self.start.x)
    line2slopex = (line2.end.x - line2.start.x)
    if (line2slopex == 0):
        if (line2slopex == selfslopex):
            return True
        else:
            return False
    if (selfslopex == 0):
        return False
    selfslope = ((self.end.y - self.start.y) / (self.end.x - self.start.x))
    line2slope = ((line2.end.y - line2.start.y) / (line2.end.x - line2.start.x))
    if (round(line2slope, 10) == round(selfslope, 10)):
        return True
    else:
        return False