1 line solution in Clear category for Binary Count by SzOp
def checkio(number): return bin(number).count("1")
Nov. 5, 2018