Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Yield! solution in Creative category for Binary Count by LukeSolo
to_b = lambda n: n > 0 and ((yield from to_b(n // 2)) or (yield n % 2))
checkio = lambda n: sum(to_b(n))
Sept. 20, 2014
Comments: