(self)
return self.end - self.start
Calculate the size of the Segment.

        :return: Size of the Segment.
        :rtype: int
Calculate the size of the Segment.
Calculate the size of the Segment .
def size(self):
        """
        Calculate the size of the Segment.

        :return: Size of the Segment.
        :rtype: int
        """
        return self.end - self.start
def size ( self ) : return self . end - self . start