Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Binary Count by Mrbond
def checkio(number):
return bin(number).count('1')
#These "asserts" using only for self-checking and not necessary for auto-testing
April 24, 2014