just 1 line solution in Clear category for The Hamming Distance by AmaroVita
checkio = lambda n, m: bin(n^m).count('1')
Feb. 15, 2015