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
[[-30, -27, 29], [30, -34, -5, 22], [5, 15], [21, -36, -50, -22], [36, 8], [-12, -36, 11, -6, -8], [-5, -5, 12], [39, 42, -35, -42], [28, 38, 8], [44, -10, -5, -22, -32], [-3, -48, 40, -33, -9], [-46, -25, 31, -21], [-28, -50], [-8, -46, 50, -10, -8], [-27, 2, 41, 19]]
Answer:
[-30, -22440, 0, -39600, 288, 20736, 12, -1764, 8512, -309760, -1920, -46, 1400, 1472000, 2]