One-liner solution in Clear category for Binary Count by suic
checkio = lambda n: bin(n).count('1')
Oct. 9, 2014