On 3/29/06, Keo Sophon <[EMAIL PROTECTED]> wrote:

> Is it bitwise operator? Could you give one example?

>>> for a in range(2):
...     for b in range(2):
...             print a, b, a&b
...
0 0 0
0 1 0
1 0 0
1 1 1

> Sophon

S.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to