16,280 questions
21,750 answers
573 users
lst1 = [1, 2, 3, 4] lst2 = [5, 6] lstc = [x * y for x in lst1 for y in lst2 if (x + y) % 2 == 0] print(lstc) ''' run: [5, 12, 15, 24] '''