Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clean and simple. solution in Clear category for Binary Count by Celshade
def checkio(number: int) -> int:
"""Return the quantity of unities found in the binary form of a number.
Args:
number: The given number.
"""
return bin(number).count('1')
Feb. 24, 2019