from typing import Tuple
from typing import Any
import math


def _calc_dist(p1: Tuple[Any, Any], p2: Tuple[Any, Any]) -> float:
    """
    Calculate distance between two points
    """
    return math.sqrt(((p1[0] - p2[0]) ** 2) + ((p1[1] - p2[1]) ** 2))