Skip to content

Instantly share code, notes, and snippets.

@0xbahaa
Last active February 7, 2019 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xbahaa/80e825867b1ae73f6836bd2403a5d046 to your computer and use it in GitHub Desktop.
Save 0xbahaa/80e825867b1ae73f6836bd2403a5d046 to your computer and use it in GitHub Desktop.
A one-line solution for Saluslab's beginners' python challenge
print(''.join([chr(i) for i in [int(i,2) for i in ['0b1010011', '0b1100001', '0b1101100', '0b1110101', '0b1110011', '0b1101100', '0b1100001', '0b1100010', '0b1111011', '0b1000111', '0b110000', '0b1011111', '0b110011', '0b1100001', '0b1010011', '0b1111001', '0b1011111', '0b110000', '0b1101110', '0b1011111', '0b1101101', '0b110011', '0b1111101'] ]]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment