Straightforward solution in Creative category for The Hamming Distance by nickie
checkio = lambda n, m: bin(n ^ m).count('1')
Feb. 22, 2014