Write a function to multiplies two lists element wise only if numbers are odd
Topic: Write a function to multiplies two lists element wise only if numbers are odd
Solution
def adds_listoddelements(l1:list, l2:list): return [i*j for i, j in zip(l1,l2) if i*j%2 == 1]
List all Python Programs