Write a function that takes a list and multiplies all elements of the list. Print the result. code example
Example: python multiply all elements in list
import numpy as np
list1 = [1,2,3,4,5]
result = np.prod(list1)
print(result)
>>>120
import numpy as np
list1 = [1,2,3,4,5]
result = np.prod(list1)
print(result)
>>>120