Source Code is the output in Python [closed]

I suspect what you are talking about is a quine.

a Simple quine in python would be

s = r"print 's = r\"{0}\"'.format(s), '\n', s" 
print 's = r\"{0}\"'.format(s), '\n', s

Leave a Comment