Python: List Comprehension: List Product

Write a function that takes two lists and return a list whose elements are the element-wise product of the two input lists.


list_product([5, 2, 100], [5, 1, 8]) -> [25, 2, 800]

Test 1    

Test 2    

Test 3    

Test 4