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
[[-47, 35, -33, 48, 32], [-37, -47, -1], [-32, -1, -44], [-36, 18], [-16, 43, -29, 28, 50], [-29, -34, 40, -24, 7], [-31, 24], [21, -2, 26], [-17, 41, 21, -9], [-9, -31, -30, -10], [28, 10, 2, -11, -21], [-1, -21, 34, -43], [-48, -25, -47, -16], [2, 43, 39, -1, -7]]
Answer:
[1536, 0, 1408, -648, -22400, 32640, 24, -52, 0, 300, 560, 34, 768, 2]