how to see if 2 elements in a list are equal in python code example Example: compare lists element wise python [ x&y for (x,y) in zip(list_a, list_b)]