(self, scalar)
return self.__class__(x=self.x * scalar, y=self.y * scalar)
Multiplies the coordinates by a scalar
Multiplies the coordinates by a scalar
Multiplies the coordinates by a scalar
def __mul__(self, scalar):
        """Multiplies the coordinates by a scalar"""
        return self.__class__(x=self.x * scalar, y=self.y * scalar)
def __mul__ ( self , scalar ) : return self . __class__ ( x = self . x * scalar , y = self . y * scalar )