osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a &= b


On Fri, Oct 4, 2019 at 5:01 AM Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
>
> Hi,
>
> Could you please give me some more hints on:
>
> a &= b
>
> It's very difficult for me to understand.
> --
> https://mail.python.org/mailman/listinfo/python-list

& is bitwise And.  a &= b is equivalent to a = a & b


-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays