def getAccuracy(l1, l2):
    """
    Returns accuracy as a percentage between two lists, L1 and L2, of the same length
    """
    assert(len(l1) == len(l2))
    return sum([1 for i in range(0, len(l1)) if l1[i] == l2[i]]) / float(len(l1))