question about True values

Steve Holden steve at holdenweb.com
Wed Oct 25 19:09:05 EDT 2006


Paul Rubin wrote:
> John Salerno <johnjsal at NOSPAMgmail.com> writes:
> 
>>if (10 > 5)
>>would be the same as
>>if (10 > 5) == True
> 
> 
> Yes.

Though it would be bad style to write it in the latter way, not to 
mention less efficient.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list