def HammingDistance(s1, s2):
	if len(s1) != len(s2):
		raise ValueError("ERROR: Strings must have the same length")
	return sum(c1 != c2 for c1, c2 in zip(s1, s2))
Add Hamming Distance in Python
Add Hamming Distance in Python
