Question: 
Write a function to multiply all the numbers in a list and divide with the length of the list.


Model's Code:
def multiply_num(numbers):
    from functools import reduce
    product = reduce(lambda x, y: x * y, numbers)
    return product / len(numbers)



Sample Correct Code:
def multiply_num(numbers):  
    total = 1
    for x in numbers:
        total *= x  
    return total/len(numbers) 


Asserts:
assert multiply_num((8, 2, 3, -1, 7))==-67.2
assert multiply_num((-10,-20,-30))==-2000.0
assert multiply_num((19,15,18))==1710.0


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 98 of 974: 76/98 (77.55102040816327%): success