missing 'xor' Boolean operator

Emile van Sebille emile at fenx.com
Thu Jul 16 12:23:43 EDT 2009


On 7/16/2009 7:04 AM Unknown said...
> On 2009-07-16, Emile van Sebille <emile at fenx.com> wrote:
>> daysInAdvance = int(inputVar) or 25
> 
> I don't get it.  That doesn't work right when inputVar == "0".
> 
Aah, but you didn't get to define right.  :)  For that particular 
example 0 is not a valid response.

Emile




More information about the Python-list mailing list