Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for The Hamming Distance by Moff
def checkio(n, m):
result = 0
while n or m:
if n % 2 != m % 2:
result += 1
n //= 2
m //= 2
return result
July 22, 2015