In article <[EMAIL PROTECTED]>,
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On 10 Mar 2006 21:12:57 -0800, [EMAIL PROTECTED] declaimed the
>following in comp.lang.python:
>
>> How can I put multiple condition in if statement?
>>
> Lesson one: Python is
[EMAIL PROTECTED] a écrit :
> Hi,
>
> How can I put multiple condition in if statement?
With "and"s and "or"s.
>
> I try this, but I can't get that to work.
>
> if ( (str != " ") && (str != "") ):
FWIW, I wou
On 10 Mar 2006 21:12:57 -0800
[EMAIL PROTECTED] wrote:
> How can I put multiple condition in if statement?
> I try this, but I can't get that to work.
>
> if ( (str != " ") && (str != "") ):
if s!=' ' and s!='':
1) logical o
On Fri, 10 Mar 2006 21:47:33 -0800, Alex Martelli wrote:
> <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> How can I put multiple condition in if statement?
>>
>> I try this, but I can't get that to work.
>>
>> if ( (str != " ")
On Fri, 10 Mar 2006 21:12:57 -0800, Allerdyce.John wrote:
> Hi,
>
> How can I put multiple condition in if statement?
>
> I try this, but I can't get that to work.
>
> if ( (str != " ") && (str != "") ):
>>> if ( (str != "
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I put multiple condition in if statement?
>
> I try this, but I can't get that to work.
>
> if ( (str != " ") && (str != "") ):
Why would you WANT to conjoin two instances of the SA
Hi,
How can I put multiple condition in if statement?
I try this, but I can't get that to work.
if ( (str != " ") && (str != "") ):
Any help is appreciated.
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list