(self, other)
return self.__class__(x=self.x - other.x, y=self.y - other.y)
Subtracts the coordinates of a point to another one
Subtracts the coordinates of a point to another one
Subtracts the coordinates of a point to another one
def __sub__(self, other):
        """Subtracts the coordinates of a point to another one"""
        return self.__class__(x=self.x - other.x, y=self.y - other.y)
def __sub__ ( self , other ) : return self . __class__ ( x = self . x - other . x , y = self . y - other . y )