DEV Community

Discussion on: Solving "Binary Agents" / freeCodeCamp Algorithm Challenges

Collapse
gagandureja profile image
Gagan
def binaryAgent(s): 
    return ''.join(chr(int(x,2)) for x in s.split())