Obfuscated Python hack
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Mon Jun 2 08:11:01 EDT 2014
Kids, don't try this at home!
In Python 2.7, run this:
exec((lambda *fs: reduce(lambda f, g: lambda x: f(g(x)), fs))(*([lambda
s: s[1::2]+s[-2::-2]]*54))('motcye;cye._n8fo_drs(d4+)vle=5 ua.8)
(isedamr.ticspt spt rpi'))
Then run these:
10 - 6 == 10 - 5
4 + 1 == 7 - 1
2*2 == 10//2
A shiny penny for the first person to explain what's going on.[1]
[1] Offer expires April 1st 2014.
--
Steven D'Aprano
http://import-that.dreamwidth.org/
More information about the Python-list
mailing list