puzzle/joke ;-)

Alex Martelli aleaxit at yahoo.com
Fri May 4 05:17:22 EDT 2001


"Alexander Semenov" <sav at ulj.menatepspb.com> wrote in message
news:9ctr4g$mc2$1 at news1.simtel.ru...
> "Roman Suzi" <rnd at onego.ru> wrote in message
news:mailman.988904826.31968.python-list at python.org...
> >
> > What is the shortest Python operator to output this:
>
> repr(repr(repr(repr(repr('"')))))
>
> ~34 chars

You may save some characters by using `` rather than repr.
`````'"'````` should be the equivalent in 13 characters, I
believe.  Not that I'd miss `` if it were abolished...:-)


Alex






More information about the Python-list mailing list