format solution in Clear category for Binary Count by gyahun_dash
def checkio(number): return format(number, 'b').count('1')
March 20, 2016