In informatics, Hamming distance is the number of positions where the characters differ between two strings of equal length
pip install allalgorithms
>>> from allalgorithms.sorting import hamming_dist
>>> hamming_dist("hello world", "hello wario")
3
Returns an integer
Raises a ValueError if strings are of unequal length
seq1: first string to compareseq2: second string to compare