Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for The Hamming Distance by dmitry.knorre
# loops are not required here
def checkio(n, m):
testsum = str(int(bin(n)[2:]) + int(bin(m)[2:]))
return testsum.count('1')
Sept. 10, 2015