[Tutor] Logical Operators

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Apr 6 12:36:11 CEST 2006


Hi

I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap04.htm
about Logical operators

I didnot understood

>>>  x = 5
>>>  x and 1
1
>>>  y = 0
>>>  y and 1
0

How 5 and 1 means 1 and 0 and 1 means 0

Thanks

Regards

Kaushal


More information about the Tutor mailing list