import math


def get_distance(p1, p2): 
    """Returns the absolute distance between 2 points.
    
    Args:
        p1: [x, y] coords of point 1
        p2: [x, y] coords of point 2
    """
    
    # Find straight line distance between two points = sqrt[(x1-x2)^2 + (y1-y2)^]
    # ref: https://www.cuemath.com/geometry/distance-between-two-points/
    return math.sqrt(math.pow(p1[0] - p2[0], 2) + math.pow(p1[1] - p2[1], 2))