Answers for "what is the multiplication function in python"

0

python multiply all elements in list

import numpy as np

list1 = [1,2,3,4,5]
result = np.prod(list1)

print(result)
>>>120
Posted by: Guest on November-14-2020

Code answers related to "what is the multiplication function in python"

Python Answers by Framework

Browse Popular Code Answers by Language