Clean and simple. solution in Clear category for The Hamming Distance by Celshade
def checkio(n: int, m: int) -> int:
"""Return the 'Hamming Distance' between two integers."""
return bin(n ^ m).count("1")
Dec. 14, 2018