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 odd 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 odd numbers in an inner list you should output 0 for that list.
Part 2. Example
[[4, 4, 12, -6], [-9, 5, -6, -1], [8, 3, 9, -5, 1]]
Answer: [0, 45, -135]
Explanation: The first inner list has no odd integers, so the first number in the output is 0. The second list has -9, 5, -1 for odd integers so the second output is 45. The third list has 3, 9, -5, 1 as even numbers so the third output is -135. This is a good example.
Part 3. Exercise
[[-9, 7], [50, 2, -20, 32, -32], [49, 21], [-36, -32, -35], [36, 40, -7, 16, 30], [33, -46, -36, -29], [34, 34, -10], [-39, 45, -11, 12, -48], [-26, 28], [-11, 24]]
Answer:
[-63, 0, 1029, -35, -7, -957, 0, 19305, 0, -11]