import math


def _get_distance(pos1, pos2):
    """ Returns distance between two points

    Params : 

    pos1 : tuple in (x,y) format
    pos2 : tuple in (x,y) format

    """
    return math.sqrt((pos2[0]-pos1[0])**2 + (pos2[1]-pos1[1])**2)