import math


def distance(start, end):
    """Calculate the distance between two points."""
    x0, y0 = start
    x1, y1 = end
    dx = x1 - x0
    dy = y1 - y0
    start_to_end = math.sqrt(dx*dx + dy*dy)
    return start_to_end