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
[[27, -47, -25, -48, -33], [15, -50, 4, 33, 44], [39, -45], [-45, 44, -9, 14, -42], [39, 16, -44, 41, -9], [-37, 2, -28, -6], [15, -33, 43], [-6, -26, -4, 13], [23, 47, 16, -39, -2], [31, 40, -4], [31, -36, -38, 45, 8], [-43, -3], [-35, 13, 4], [-47, -20, -23, -14, 22]]
Answer:
[-48, -8800, 0, -25872, -704, 336, 0, -624, -32, -160, 10944, 0, 4, 6160]