1 def f(x, y): 2 return x 3 4 a = [1, 2, 3] 5 b = ["1", "2", "3"] 6 7 l = [f(x, y) for x in a for y in b if y > "1" if x > 1]