Coding4Fun!
Playing with what I like
Thursday, March 25, 2010
A one line Python Quine
OK, Here's a one line Python program that prints its own source code:
s='s=%r;print s%%s';print s%s
This wikipedia article on Quines
is a very good place to learn how these things work
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)