Detailed Instructions: 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.
Q: [[-40, 35, -39, -43], [-40, -21, -40, 1, 20], [-36, -3], [-43, -27, 6, -50], [-42, 17, -45, 45], [40, 15], [8, -15, 38, 43, 18], [36, -9, -44, -26, -48], [-10, -22], [48, 20, -31]]
A:
[58695, -21, -3, 1161, -34425, 15, -645, -9, 0, -31]