def get_distance(coords1, coords2):
    """Gets the distance between 2 pairs of coordinates

    Args:
        coords1 ([int, int]): The first set of coordinates
        coords2 ([int, int]): The second set of coordinates
    """
    return abs(coords1[0] - coords2[0]) + abs(coords1[1] - coords2[1])