I get a weird result and I try to apply the and or the or operator to 2 Boolean lists in python. I actually get the exact opposite of what I was expec
and
or
Мore functional:
from operator import or_, and_ from itertools import starmap a = [True, False, False] b = [True, True, False] starmap(or_, zip(a,b)) # [True, True, False] starmap(and_, zip(a,b)) # [True, False, False]