Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Binary Count by darasg2008
def checkio(number):
unities=0
while number>0:
if number%2==1:
unities+=1
number=number//2
return unities
Nov. 3, 2016