def matchStrength(x, y):
 return sum(((xi == yi) for (xi, yi) in zip(x, y)))

def matchStrength ( x , y ) : return sum ( ( ( xi == yi ) for ( xi , yi ) in zip ( x , y ) ) )
compute the match strength for the individual *x* on the string *y* .