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
[[-40, 20, -32, 28, -30], [-41, 16], [43, -41, -45, -34, 19], [-50, -46, -48, 28, 12], [33, 39], [-46, -26, -17, 8, 24], [-23, 33, -4, 47], [-47, 41, 2, -27, -39], [34, 50, -29, -44], [-14, 24, 34], [-38, 26, -38, 22], [-37, -47, -34, -5], [-37, -46, -30, 45]]
Answer:
[-21504000, 16, -34, -37094400, 0, 229632, -4, 2, -74800, -11424, 825968, -34, 1380]