0CTF 2015 Quals - Task PolyQuine
The original code is here: anarchy golf - the source code
I modified it a bit so it will support Python 3 as well without breaking the code. Instead of using the print statement(Py2)/function(Py3), I replace it with __import__('sys').stdout.write()
because it won't break the original idea of substituting the newline character.
Here's the modified code: