import math


def distance(t1,t2):
    """Find vector distance between two tuples"""

    if len(t1) != len(t2):
        raise ValueError("distance: tuples must be the same length")

    r = [0,] * len(t1)
    for i in range(0,len(t1)):
        r[i] = (t1[i] - t2[i]) ** 2
    r = tuple(r)

    return math.sqrt( sum(r) )