LeetCode/0973_ K_Closest_Points_to_Origin.py
def distance(self, point: Tuple[float, float]) -> float:
        """
        Pythagorean formula to get the distance to the origin.
        """
        
        return (point[0] ** 2 + point[1] ** 2) ** 0.5

        Pythagorean formula to get the distance to the origin.
        
Pythagorean formula to get the distance to the origin.
Pythagorean formula to get the distance to the origin .
def distance(self, point: Tuple[float, float]) -> float:
        return (point[0] ** 2 + point[1] ** 2) ** 0.5
def distance ( self , point : Tuple [ float , float ] ) -> float : return ( point [ 0 ] ** 2 + point [ 1 ] ** 2 ) ** 0.5
Pythagorean formula to get the distance to the origin.
Pythagorean formula to get the distance to the origin .
"""
        Pythagorean formula to get the distance to the origin.
        """
self
point
Tuple[float, float]