def same_direction(list1, list2):
    for l1, l2 in zip(list1, list2):
        if (l1 > 0) ^ (l2 > 0):
            return False
return True
how to know values at the same index in 2 lists in python are the same in positive or negative?