late, but I just wanted to add some more interesting things
provided that both lists are of equal length
a = [1,2,3,4,5] b = [6,7,8,9,10] c = all("h" not in pair for pair in zip(a,b))
if they have an unequal length:
from itertools import zip_longest a = [1,2,3,4,5] b = [6,7,8,9,10,11,12,13] c = all("h" not in pair for pair in zip_longest(a,b))
source share