def distance(a, b):
    if len(a) != len(b):
        raise ValueError
    return sum(1 for a, b in zip(a, b) if a != b)

3fe585af5a3f4e52edf1cedca4c182ac267fcde7
<mask token>

def distance(a, b):
    if len(a) != len(b):
        raise ValueError
    return sum(1 for a, b in zip(a, b) if a != b)
