Embarrasing questio
Catherine Heathcote
catherine.heathcote at gmail.com
Thu Feb 12 11:12:03 EST 2009
TechieInsights wrote:
> On Feb 12, 9:03 am, Catherine Heathcote
> <catherine.heathc... at gmail.com> wrote:
>> But I just cant find it. How do I do an or, as in c/c++'s ||? Just
>> trying to do something simple, the python equivilent of:
>>
>> if(i % 3 == 0 || i % 5 == 0)
>>
>> Thanks.
>
> if i % 3 == 0 or i % 5 == 0
>
Yea, new it would be embarrasing, thanks!
More information about the Python-list
mailing list