Created
January 9, 2017 13:52
-
-
Save trvrm/cb0412d80e8e0ce7f0c46725a83dca3e to your computer and use it in GitHub Desktop.
A simpler quine, using list concatenation rather than Gödel numbering. Run in Python3
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
l= ['p', 'r', 'i', 'n', 't', '(', "'", 'l', '=', "'", ',', 'l', ')', '\n', 'p', 'r', 'i', 'n', 't', '(', '"', '"', '.', 'j', 'o', 'i', 'n', '(', 'l', ')', ')'] | |
print('l=',l) | |
print("".join(l)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment