Created
July 31, 2013 18:34
-
-
Save Zhangerr/6124798 to your computer and use it in GitHub Desktop.
a simple little quine in python.
This file contains 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
s = "s = {0}{1}{0};{2}print s.format(chr(34),s,chr(10))" | |
print s.format(chr(34),s,chr(10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
things to note when writing a quine:
repr
that probably rendered the need for ascii char codes to be void