Merry Christmas

s = 's = %s; print s %% repr(s)'; print s % repr(s)

(Put it in a file, e.g. ps.py, then run python ps.py | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python | python and see what happens.)

Share and Enjoy:
  • Twitter
  • Facebook
  • Digg
  • Reddit
  • HackerNews
  • del.icio.us
  • Google Bookmarks
  • Slashdot
This entry was posted in Python. Bookmark the permalink.

Comments are closed.