[SciPy-user] Inconsistent function calls?

Robert Kern robert.kern@gmail....
Thu May 21 11:35:16 CDT 2009


On Thu, May 21, 2009 at 11:29, Travis Vaught <travis@enthought.com> wrote:
> On May 21, 2009, at 11:13 AM, Ivo Maljevic wrote:
>
>> ...
>>
>> Robert, by following this list I know that I shouldn't even try to
>> respond to your message as
>> you always turn out to be right, but I'll try anyway. ...
>
> Robert,
>
> Could you write some code to verify this?
>
> Here's a snippet off the top of my head:
>
> def check_robert():
>     if 1:
>         print "Robert is right."
>     else:
>         print "Robert is wrong."

These days, it's been more like:

  def check_robert():
    if random() > 0.5:
      print "Robert is right."
    else:
      print "Robert is wrong."

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the SciPy-user mailing list