Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
join decorator on a generator solution in Clear category for Parity Bit Generator by Phil15
join = lambda sep='': lambda f: lambda *a, **kw: sep.join(map(str, f(*a, **kw)))
@join()
def checkio(message):
for n in message:
b = bin(n)[2:]
if not b.count('1') % 2:
yield chr(int(b[:-1], 2))
Dec. 1, 2018
Comments: