<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <style>body p { margin-bottom: 0.4cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" text="#000000"
    bgcolor="#FFFFFF">
    f=lambda: g();g=set#)<br>
    <br>
    (yuck. why am i participating in this riddle anyway..)<br>
    <br>
    <br>
    if i there's a class whose constructor returns a callable, it can be
    shorter.<br>
    <br>
    <br>
    On 17/12/2011 14:14, Ram Rachum wrote:
    <blockquote
cite="mid:CANXboVaigsk8ndyng5wGhs-dcErb8VPeoyEOtzp4R_ThR=7RfQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Here's a silly Python riddle for you.
        <div><br>
        </div>
        <div>Today I opened up a Python 2.7 shell, and ran two commands
          in it.</div>
        <div><br>
        </div>
        <blockquote class="gmail_quote"
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">&gt;&gt;&gt;
          f = lambda: g(<b>???</b>)<br>
          &gt;&gt;&gt; f()&nbsp;</blockquote>
        <div><br>
          (Note that these are the only commands that I ran. You're not
          allowed to run any other commands before them.)
        </div>
        <div><br>
        </div>
        <div>The riddle: What's the shortest thing you can put instead
          of <b>???</b>&nbsp;so my second command would not raise an
          exception?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Ram.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Python-il mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-il@hamakor.org.il">Python-il@hamakor.org.il</a>
<a class="moz-txt-link-freetext" href="http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il">http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>