Re: Coding style



Peter Otten wrote:
Steve Holden wrote:

I'll bet you still write

if a>3 == True:

don't you ;-)

I'll second that.

if (a>3) == True:

is the correct way :-)

Peter

No, to be consistent you'll have to write

if ((a>3) == True) == True:

Oops, I mean,

if (((a>3) == True) == True) == True:

Umm, never mind.

.



Relevant Pages