Part 1. Definition
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list.
Part 2. Example
[[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]]
Answer: [0, 72, -32]
Explanation: The first inner list has no even integers, so the first number in the output is 0. The second list has -6, -6, 2 for even integers so the second output is 72. The third list has -8, 4 as even numbers so the third output is -32. This is a good example.
Part 3. Exercise
[[8, -36, -49, -40, 34], [34, 45, -6, -35], [-50, -17, -22], [-45, -17, 42], [46, 36, 35, -33], [-5, -36, 6, 48], [29, -40], [12, 32, 11], [17, 22, 38, -32], [-33, 30, 9, -3], [3, -43], [-24, 35, 10, 43], [-3, -33, 14, -31, -39]]
Answer:
[391680, -204, 1100, 42, 1656, -10368, -40, 384, -26752, 30, 0, -240, 14]