(self, other)
return self.__class__(x=self.x + other.x, y=self.y + other.y)
Adds the coordinates of a point to another one
Adds the coordinates of a point to another one
Adds the coordinates of a point to another one
def __add__(self, other):
        """Adds the coordinates of a point to another one"""
        return self.__class__(x=self.x + other.x, y=self.y + other.y)
def __add__ ( self , other ) : return self . __class__ ( x = self . x + other . x , y = self . y + other . y )