Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
% and //, no binary conversion! solution in Clear category for Binary Count by Sioul
def checkio(number: int) -> int:
unit = 0
while number > 0:
unit += number % 2
number = number//2
return unit
Sept. 8, 2019
Comments: