`So I had a debate with my teacher on what was the best method to quantify how different two given strings are. She told me to use the Levenshtein distance (https://en.wikipedia.org/wiki/Levenshtein_distance if you don't know what it is).
The thing is, that this algorithm is very complex, wouldn't it be much simpler to do this ?`
def distance(s1,s2): return sum([1 for a,b in zip(s1,s2) if a!=b])