simple solution in Clear category for Binary Count by aoleynik
def checkio(number): return bin(number).count('1')
Jan. 22, 2015