I am trying to compare each element of the two equal length lists.
import numpy as np
def comp_one2one(list1, list2):
    tmp = []
    for i in range(len(list1)):
        if list2[i] > list1[i]:
            tmp.append(True)
        else: 
            tmp.append(False)
    return np.any(tmp)
list1 = [10, 15, 20]
list2 = [50, 10, 15] 
> print(comp_one2one(list1,list2))
True
I am wondering if there is a more efficient and more pythonic way of doing this operation?
 
     
    