Last active
July 30, 2021 01:02
-
-
Save matiasmorant/f57885972721aacfc5bca393f4771f32 to your computer and use it in GitHub Desktop.
Amazing Python One-Liner
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec(''.join(chr(int(''.join(str(ord(i)-8203)for i in c),2))for c in '� |
Oh clever boy :P . Just go ahead with exec, that's where the fun is, trust i'm a good guy.
So you had no problems copy&pasting revision 3, that's good news. you just had to ask github with the 'raw' version button, right?
I think I'll write a blog post with explanation in matiasmorant.wordpress.com at some point, also explaining some functional programming concepts.
This gist didn't get as much publicity as I thought it would, maybe I need a better title.
@BoboTiG the final ''.split('')
in the file hides A LOT (about 1.4MB worth). The version I have written here is the bog standard ascii-version.
I would love to read @wvlia5 's blog post about it.
goddammit. Good one.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the rev 3. I replaced
exec
withprint
just to not run something I do not understand. But what was printed is quite intriguing given the one-liner. If you prefer to keep that secret for some time, it is OK too ;)